@customafk/lunas-ui 0.2.53 → 0.2.54

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 (1176) hide show
  1. package/dist/{alert-CB79DQwK.d.mts → alert-Bip5XjBw.d.cts} +5 -7
  2. package/dist/{alert-Ca5wFNXF.d.cts → alert-Bip5XjBw.d.mts} +5 -7
  3. package/dist/alert-D31c6DLq.cjs +2 -0
  4. package/dist/{alert-DDdHIRib.cjs.map → alert-D31c6DLq.cjs.map} +1 -1
  5. package/dist/{alert-BEcGZfPW.mjs → alert-OD1KJTEV.mjs} +1 -1
  6. package/dist/{alert-BEcGZfPW.mjs.map → alert-OD1KJTEV.mjs.map} +1 -1
  7. package/dist/{badge-DYo5Diiy.d.cts → badge-D0InQSvM.d.cts} +4 -6
  8. package/dist/{badge-CQygfYGk.d.mts → badge-D0InQSvM.d.mts} +4 -6
  9. package/dist/{button-D-pWsdxT.d.cts → button-DIqm3YRo.d.cts} +4 -7
  10. package/dist/{button-CwxEnAw3.d.mts → button-DIqm3YRo.d.mts} +4 -7
  11. package/dist/button.variants-DOglUhSE.cjs +2 -0
  12. package/dist/{button.variants-4kw6plrv.cjs.map → button.variants-DOglUhSE.cjs.map} +1 -1
  13. package/dist/{button.variants-DkMqWB8G.mjs → button.variants-pziHKxvE.mjs} +1 -1
  14. package/dist/{button.variants-DkMqWB8G.mjs.map → button.variants-pziHKxvE.mjs.map} +1 -1
  15. package/dist/cards/grid-product-card.cjs +2 -1
  16. package/dist/cards/grid-product-card.cjs.map +1 -0
  17. package/dist/cards/grid-product-card.d.cts +30 -2
  18. package/dist/cards/grid-product-card.d.mts +30 -2
  19. package/dist/cards/grid-product-card.mjs +2 -1
  20. package/dist/cards/grid-product-card.mjs.map +1 -0
  21. package/dist/cards/product-card.cjs +2 -1
  22. package/dist/cards/product-card.cjs.map +1 -0
  23. package/dist/cards/product-card.d.cts +30 -2
  24. package/dist/cards/product-card.d.mts +30 -2
  25. package/dist/cards/product-card.mjs +2 -1
  26. package/dist/cards/product-card.mjs.map +1 -0
  27. package/dist/cards/simple-card.cjs +2 -1
  28. package/dist/cards/simple-card.cjs.map +1 -0
  29. package/dist/cards/simple-card.d.cts +29 -2
  30. package/dist/cards/simple-card.d.mts +29 -2
  31. package/dist/cards/simple-card.mjs +2 -1
  32. package/dist/cards/simple-card.mjs.map +1 -0
  33. package/dist/close-BYHgEZvZ.cjs +2 -0
  34. package/dist/close-BYHgEZvZ.cjs.map +1 -0
  35. package/dist/{close-Co-WLsSG.mjs → close-DYJZ8fkh.mjs} +1 -1
  36. package/dist/close-DYJZ8fkh.mjs.map +1 -0
  37. package/dist/cms-layout-DhZiYGI7.cjs +2 -0
  38. package/dist/cms-layout-DhZiYGI7.cjs.map +1 -0
  39. package/dist/cms-layout-IwpD0LvR.mjs +2 -0
  40. package/dist/cms-layout-IwpD0LvR.mjs.map +1 -0
  41. package/dist/data-display/country.cjs +2 -1
  42. package/dist/data-display/country.cjs.map +1 -0
  43. package/dist/data-display/country.d.cts +21 -2
  44. package/dist/data-display/country.d.mts +21 -2
  45. package/dist/data-display/country.mjs +2 -1
  46. package/dist/data-display/country.mjs.map +1 -0
  47. package/dist/data-display/data-list.cjs +2 -1
  48. package/dist/data-display/data-list.cjs.map +1 -0
  49. package/dist/data-display/data-list.d.cts +38 -2
  50. package/dist/data-display/data-list.d.mts +38 -2
  51. package/dist/data-display/data-list.mjs +2 -1
  52. package/dist/data-display/data-list.mjs.map +1 -0
  53. package/dist/data-display/date-tooltip.cjs +2 -1
  54. package/dist/data-display/date-tooltip.cjs.map +1 -0
  55. package/dist/data-display/date-tooltip.d.cts +18 -2
  56. package/dist/data-display/date-tooltip.d.mts +18 -2
  57. package/dist/data-display/date-tooltip.mjs +2 -1
  58. package/dist/data-display/date-tooltip.mjs.map +1 -0
  59. package/dist/data-display/date.cjs +1 -1
  60. package/dist/data-display/date.d.cts +39 -2
  61. package/dist/data-display/date.d.mts +39 -2
  62. package/dist/data-display/date.mjs +1 -1
  63. package/dist/data-display/empty.cjs +2 -1
  64. package/dist/data-display/empty.cjs.map +1 -0
  65. package/dist/data-display/empty.d.cts +19 -2
  66. package/dist/data-display/empty.d.mts +19 -2
  67. package/dist/data-display/empty.mjs +2 -1
  68. package/dist/data-display/empty.mjs.map +1 -0
  69. package/dist/data-display/name.cjs +2 -1
  70. package/dist/data-display/name.cjs.map +1 -0
  71. package/dist/data-display/name.d.cts +18 -2
  72. package/dist/data-display/name.d.mts +18 -2
  73. package/dist/data-display/name.mjs +2 -1
  74. package/dist/data-display/name.mjs.map +1 -0
  75. package/dist/data-display/phone-number.cjs +2 -1
  76. package/dist/data-display/phone-number.cjs.map +1 -0
  77. package/dist/data-display/phone-number.d.cts +18 -2
  78. package/dist/data-display/phone-number.d.mts +18 -2
  79. package/dist/data-display/phone-number.mjs +2 -1
  80. package/dist/data-display/phone-number.mjs.map +1 -0
  81. package/dist/data-display/role-badge.cjs +2 -1
  82. package/dist/data-display/role-badge.cjs.map +1 -0
  83. package/dist/data-display/role-badge.d.cts +21 -2
  84. package/dist/data-display/role-badge.d.mts +21 -2
  85. package/dist/data-display/role-badge.mjs +2 -1
  86. package/dist/data-display/role-badge.mjs.map +1 -0
  87. package/dist/data-display/statistic.cjs +2 -1
  88. package/dist/data-display/statistic.cjs.map +1 -0
  89. package/dist/data-display/statistic.d.cts +45 -2
  90. package/dist/data-display/statistic.d.mts +45 -2
  91. package/dist/data-display/statistic.mjs +2 -1
  92. package/dist/data-display/statistic.mjs.map +1 -0
  93. package/dist/data-display/user.cjs +2 -1
  94. package/dist/data-display/user.cjs.map +1 -0
  95. package/dist/data-display/user.d.cts +20 -2
  96. package/dist/data-display/user.d.mts +20 -2
  97. package/dist/data-display/user.mjs +2 -1
  98. package/dist/data-display/user.mjs.map +1 -0
  99. package/dist/date-B3cozmfV.cjs +2 -0
  100. package/dist/date-B3cozmfV.cjs.map +1 -0
  101. package/dist/{date-88lk-VJF.mjs → date-Nsz0Pewe.mjs} +1 -1
  102. package/dist/date-Nsz0Pewe.mjs.map +1 -0
  103. package/dist/{dialog-DokGVUbC.d.mts → dialog-BASlxWF_.d.cts} +12 -15
  104. package/dist/{dialog-xPhSkLmg.d.cts → dialog-BASlxWF_.d.mts} +12 -15
  105. package/dist/dialogs/confirm-dialog.cjs +2 -1
  106. package/dist/dialogs/confirm-dialog.cjs.map +1 -0
  107. package/dist/dialogs/confirm-dialog.d.cts +142 -2
  108. package/dist/dialogs/confirm-dialog.d.mts +142 -2
  109. package/dist/dialogs/confirm-dialog.mjs +2 -1
  110. package/dist/dialogs/confirm-dialog.mjs.map +1 -0
  111. package/dist/dialogs/detail-dialog/components/sidebar.cjs +2 -1
  112. package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +1 -0
  113. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +36 -51
  114. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +36 -51
  115. package/dist/dialogs/detail-dialog/components/sidebar.mjs +2 -1
  116. package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +1 -0
  117. package/dist/dialogs/detail-dialog/index.cjs +2 -1
  118. package/dist/dialogs/detail-dialog/index.cjs.map +1 -0
  119. package/dist/dialogs/detail-dialog/index.d.cts +36 -2
  120. package/dist/dialogs/detail-dialog/index.d.mts +36 -2
  121. package/dist/dialogs/detail-dialog/index.mjs +2 -1
  122. package/dist/dialogs/detail-dialog/index.mjs.map +1 -0
  123. package/dist/dialogs/error-dialog.cjs +2 -1
  124. package/dist/dialogs/error-dialog.cjs.map +1 -0
  125. package/dist/dialogs/error-dialog.d.cts +22 -2
  126. package/dist/dialogs/error-dialog.d.mts +22 -2
  127. package/dist/dialogs/error-dialog.mjs +2 -1
  128. package/dist/dialogs/error-dialog.mjs.map +1 -0
  129. package/dist/dialogs/loading-dialog.cjs +2 -1
  130. package/dist/dialogs/loading-dialog.cjs.map +1 -0
  131. package/dist/dialogs/loading-dialog.d.cts +19 -2
  132. package/dist/dialogs/loading-dialog.d.mts +19 -2
  133. package/dist/dialogs/loading-dialog.mjs +2 -1
  134. package/dist/dialogs/loading-dialog.mjs.map +1 -0
  135. package/dist/dist-CGlSRti2.cjs +2 -0
  136. package/dist/{dist-Cx5ufCdr.cjs.map → dist-CGlSRti2.cjs.map} +1 -1
  137. package/dist/{dist-DVrfqn8H.mjs → dist-CtTonIm8.mjs} +1 -1
  138. package/dist/{dist-DVrfqn8H.mjs.map → dist-CtTonIm8.mjs.map} +1 -1
  139. package/dist/features/descriptions/index.cjs +2 -1
  140. package/dist/features/descriptions/index.cjs.map +1 -0
  141. package/dist/features/descriptions/index.d.cts +231 -2
  142. package/dist/features/descriptions/index.d.mts +231 -3
  143. package/dist/features/descriptions/index.mjs +2 -1
  144. package/dist/features/descriptions/index.mjs.map +1 -0
  145. package/dist/features/search-modal/index.cjs +1 -1
  146. package/dist/features/search-modal/index.d.cts +14 -2
  147. package/dist/features/search-modal/index.d.mts +14 -2
  148. package/dist/features/search-modal/index.mjs +1 -1
  149. package/dist/features/tables/index.cjs +1 -1
  150. package/dist/features/tables/index.d.cts +1 -1
  151. package/dist/features/tables/index.d.mts +1 -2
  152. package/dist/features/tables/index.mjs +1 -1
  153. package/dist/features/tanstack-form/index.cjs +1 -1
  154. package/dist/features/tanstack-form/index.d.cts +1 -1
  155. package/dist/features/tanstack-form/index.d.mts +1 -1
  156. package/dist/features/tanstack-form/index.mjs +1 -1
  157. package/dist/features/text-editor/index.cjs +1 -1
  158. package/dist/features/text-editor/index.d.cts +2 -2
  159. package/dist/features/text-editor/index.d.mts +2 -2
  160. package/dist/features/text-editor/index.mjs +1 -1
  161. package/dist/heading-DLjnJc1q.cjs +2 -0
  162. package/dist/{heading-tGTqk3pA.cjs.map → heading-DLjnJc1q.cjs.map} +1 -1
  163. package/dist/heading-Fajfx88p.mjs +2 -0
  164. package/dist/{heading-De4Pn3mZ.mjs.map → heading-Fajfx88p.mjs.map} +1 -1
  165. package/dist/index-COLxGpG6.d.cts +3341 -0
  166. package/dist/index-COLxGpG6.d.mts +3341 -0
  167. package/dist/{index-BOLiQQmh.d.mts → index-Cqe6rsMe.d.cts} +170 -345
  168. package/dist/{index-C33ZNe5s.d.cts → index-DOaKN0wJ.d.cts} +5 -7
  169. package/dist/{index-DtlnICYj.d.mts → index-DOaKN0wJ.d.mts} +5 -7
  170. package/dist/{index-e8PriyFP.d.cts → index-DqlCqAcc.d.cts} +15 -33
  171. package/dist/{index-BUpm7Ukw.d.mts → index-DqlCqAcc.d.mts} +15 -33
  172. package/dist/{index-DvC_tPbo.d.cts → index-aPuQLHfq.d.mts} +170 -345
  173. package/dist/index.cjs +1 -1
  174. package/dist/index.d.cts +93 -93
  175. package/dist/index.d.mts +93 -93
  176. package/dist/index.mjs +1 -1
  177. package/dist/{input-BDCw9qBl.d.cts → input-BJMvABEL.d.cts} +6 -11
  178. package/dist/{input-BVTLQHpd.d.mts → input-BJMvABEL.d.mts} +6 -11
  179. package/dist/layouts/cms-layout/index.cjs +1 -1
  180. package/dist/layouts/cms-layout/index.d.cts +2 -2
  181. package/dist/layouts/cms-layout/index.d.mts +2 -2
  182. package/dist/layouts/cms-layout/index.mjs +1 -1
  183. package/dist/layouts/flex.cjs +2 -1
  184. package/dist/layouts/flex.cjs.map +1 -0
  185. package/dist/layouts/flex.d.cts +114 -2
  186. package/dist/layouts/flex.d.mts +114 -2
  187. package/dist/layouts/flex.mjs +2 -1
  188. package/dist/layouts/flex.mjs.map +1 -0
  189. package/dist/layouts/grid.cjs +2 -1
  190. package/dist/layouts/grid.cjs.map +1 -0
  191. package/dist/layouts/grid.d.cts +19 -2
  192. package/dist/layouts/grid.d.mts +19 -2
  193. package/dist/layouts/grid.mjs +2 -1
  194. package/dist/layouts/grid.mjs.map +1 -0
  195. package/dist/layouts/payment-layout/index.cjs +1 -1
  196. package/dist/layouts/payment-layout/index.d.cts +59 -2
  197. package/dist/layouts/payment-layout/index.d.mts +59 -2
  198. package/dist/layouts/payment-layout/index.mjs +1 -1
  199. package/dist/pages/FeatureDeveloping.cjs +2 -1
  200. package/dist/pages/FeatureDeveloping.cjs.map +1 -0
  201. package/dist/pages/FeatureDeveloping.d.cts +41 -2
  202. package/dist/pages/FeatureDeveloping.d.mts +41 -2
  203. package/dist/pages/FeatureDeveloping.mjs +2 -1
  204. package/dist/pages/FeatureDeveloping.mjs.map +1 -0
  205. package/dist/pages/FeatureFixing.cjs +2 -1
  206. package/dist/pages/FeatureFixing.cjs.map +1 -0
  207. package/dist/pages/FeatureFixing.d.cts +41 -2
  208. package/dist/pages/FeatureFixing.d.mts +41 -2
  209. package/dist/pages/FeatureFixing.mjs +2 -1
  210. package/dist/pages/FeatureFixing.mjs.map +1 -0
  211. package/dist/pages/LoginPage.cjs +2 -1
  212. package/dist/pages/LoginPage.cjs.map +1 -0
  213. package/dist/pages/LoginPage.d.cts +53 -2
  214. package/dist/pages/LoginPage.d.mts +53 -2
  215. package/dist/pages/LoginPage.mjs +2 -1
  216. package/dist/pages/LoginPage.mjs.map +1 -0
  217. package/dist/pages/NotAuthorized.cjs +2 -1
  218. package/dist/pages/NotAuthorized.cjs.map +1 -0
  219. package/dist/pages/NotAuthorized.d.cts +41 -2
  220. package/dist/pages/NotAuthorized.d.mts +41 -2
  221. package/dist/pages/NotAuthorized.mjs +2 -1
  222. package/dist/pages/NotAuthorized.mjs.map +1 -0
  223. package/dist/pages/NotFound.cjs +2 -1
  224. package/dist/pages/NotFound.cjs.map +1 -0
  225. package/dist/pages/NotFound.d.cts +41 -2
  226. package/dist/pages/NotFound.d.mts +41 -2
  227. package/dist/pages/NotFound.mjs +2 -1
  228. package/dist/pages/NotFound.mjs.map +1 -0
  229. package/dist/pages/RegisterPage.cjs +2 -1
  230. package/dist/pages/RegisterPage.cjs.map +1 -0
  231. package/dist/pages/RegisterPage.d.cts +50 -2
  232. package/dist/pages/RegisterPage.d.mts +50 -2
  233. package/dist/pages/RegisterPage.mjs +2 -1
  234. package/dist/pages/RegisterPage.mjs.map +1 -0
  235. package/dist/pages/VerifyEmailPage.cjs +2 -1
  236. package/dist/pages/VerifyEmailPage.cjs.map +1 -0
  237. package/dist/pages/VerifyEmailPage.d.cts +62 -2
  238. package/dist/pages/VerifyEmailPage.d.mts +62 -2
  239. package/dist/pages/VerifyEmailPage.mjs +2 -1
  240. package/dist/pages/VerifyEmailPage.mjs.map +1 -0
  241. package/dist/payment-layout-CG_l7Es-.mjs +2 -0
  242. package/dist/payment-layout-CG_l7Es-.mjs.map +1 -0
  243. package/dist/payment-layout-DfxNDF8G.cjs +2 -0
  244. package/dist/payment-layout-DfxNDF8G.cjs.map +1 -0
  245. package/dist/resizable-CNIYTd7k.d.cts +64 -0
  246. package/dist/resizable-CNIYTd7k.d.mts +64 -0
  247. package/dist/rolldown-runtime-C6qsp3rV.cjs +1 -0
  248. package/dist/search-modal-CMhsIxae.cjs +2 -0
  249. package/dist/search-modal-CMhsIxae.cjs.map +1 -0
  250. package/dist/search-modal-Cdmi2iyV.mjs +2 -0
  251. package/dist/search-modal-Cdmi2iyV.mjs.map +1 -0
  252. package/dist/systems/google.cjs +2 -1
  253. package/dist/systems/google.cjs.map +1 -0
  254. package/dist/systems/google.d.cts +48 -2
  255. package/dist/systems/google.d.mts +48 -2
  256. package/dist/systems/google.mjs +2 -1
  257. package/dist/systems/google.mjs.map +1 -0
  258. package/dist/tables-BHdeig0n.mjs +4 -0
  259. package/dist/tables-BHdeig0n.mjs.map +1 -0
  260. package/dist/tables-BfuoYxlt.cjs +4 -0
  261. package/dist/tables-BfuoYxlt.cjs.map +1 -0
  262. package/dist/tanstack-form-CVnMirZT.cjs +42 -0
  263. package/dist/tanstack-form-CVnMirZT.cjs.map +1 -0
  264. package/dist/tanstack-form-Dl6pl0mL.mjs +42 -0
  265. package/dist/tanstack-form-Dl6pl0mL.mjs.map +1 -0
  266. package/dist/text-editor-BQtIXOpM.mjs +2 -0
  267. package/dist/text-editor-BQtIXOpM.mjs.map +1 -0
  268. package/dist/text-editor-C6bmwDTt.cjs +2 -0
  269. package/dist/text-editor-C6bmwDTt.cjs.map +1 -0
  270. package/dist/{types-B-SuhI6Z.d.cts → types-cKvPPVBe.d.cts} +3 -3
  271. package/dist/{types-UB3NE0JY.d.mts → types-cKvPPVBe.d.mts} +3 -3
  272. package/dist/typography/paragraph.cjs +2 -1
  273. package/dist/typography/paragraph.cjs.map +1 -0
  274. package/dist/typography/paragraph.d.cts +46 -2
  275. package/dist/typography/paragraph.d.mts +46 -2
  276. package/dist/typography/paragraph.mjs +2 -1
  277. package/dist/typography/paragraph.mjs.map +1 -0
  278. package/dist/typography/title.cjs +2 -1
  279. package/dist/typography/title.cjs.map +1 -0
  280. package/dist/typography/title.d.cts +41 -2
  281. package/dist/typography/title.d.mts +41 -2
  282. package/dist/typography/title.mjs +2 -1
  283. package/dist/typography/title.mjs.map +1 -0
  284. package/dist/ui/alert-dialog.cjs +2 -1
  285. package/dist/ui/alert-dialog.cjs.map +1 -0
  286. package/dist/ui/alert-dialog.d.cts +88 -2
  287. package/dist/ui/alert-dialog.d.mts +88 -2
  288. package/dist/ui/alert-dialog.mjs +2 -1
  289. package/dist/ui/alert-dialog.mjs.map +1 -0
  290. package/dist/ui/alert.cjs +1 -1
  291. package/dist/ui/alert.d.cts +1 -1
  292. package/dist/ui/alert.d.mts +1 -1
  293. package/dist/ui/alert.mjs +1 -1
  294. package/dist/ui/aspect-ratio.cjs +2 -1
  295. package/dist/ui/aspect-ratio.cjs.map +1 -0
  296. package/dist/ui/aspect-ratio.d.cts +22 -2
  297. package/dist/ui/aspect-ratio.d.mts +22 -2
  298. package/dist/ui/aspect-ratio.mjs +2 -1
  299. package/dist/ui/aspect-ratio.mjs.map +1 -0
  300. package/dist/ui/avatar.cjs +2 -1
  301. package/dist/ui/avatar.cjs.map +1 -0
  302. package/dist/ui/avatar.d.cts +33 -2
  303. package/dist/ui/avatar.d.mts +33 -2
  304. package/dist/ui/avatar.mjs +2 -1
  305. package/dist/ui/avatar.mjs.map +1 -0
  306. package/dist/ui/badge.cjs +2 -1
  307. package/dist/ui/badge.cjs.map +1 -0
  308. package/dist/ui/badge.d.cts +1 -1
  309. package/dist/ui/badge.d.mts +1 -1
  310. package/dist/ui/badge.mjs +2 -1
  311. package/dist/ui/badge.mjs.map +1 -0
  312. package/dist/ui/breadcrumb.cjs +2 -1
  313. package/dist/ui/breadcrumb.cjs.map +1 -0
  314. package/dist/ui/breadcrumb.d.cts +69 -2
  315. package/dist/ui/breadcrumb.d.mts +69 -2
  316. package/dist/ui/breadcrumb.mjs +2 -1
  317. package/dist/ui/breadcrumb.mjs.map +1 -0
  318. package/dist/ui/button-group.cjs +2 -1
  319. package/dist/ui/button-group.cjs.map +1 -0
  320. package/dist/ui/button-group.d.cts +48 -2
  321. package/dist/ui/button-group.d.mts +48 -3
  322. package/dist/ui/button-group.mjs +2 -1
  323. package/dist/ui/button-group.mjs.map +1 -0
  324. package/dist/ui/button.cjs +2 -1
  325. package/dist/ui/button.cjs.map +1 -0
  326. package/dist/ui/button.d.cts +1 -1
  327. package/dist/ui/button.d.mts +1 -1
  328. package/dist/ui/button.mjs +2 -1
  329. package/dist/ui/button.mjs.map +1 -0
  330. package/dist/ui/buttons/add-new.cjs +2 -1
  331. package/dist/ui/buttons/add-new.cjs.map +1 -0
  332. package/dist/ui/buttons/add-new.d.cts +16 -2
  333. package/dist/ui/buttons/add-new.d.mts +16 -2
  334. package/dist/ui/buttons/add-new.mjs +2 -1
  335. package/dist/ui/buttons/add-new.mjs.map +1 -0
  336. package/dist/ui/buttons/edit.cjs +2 -1
  337. package/dist/ui/buttons/edit.cjs.map +1 -0
  338. package/dist/ui/buttons/edit.d.cts +16 -2
  339. package/dist/ui/buttons/edit.d.mts +16 -2
  340. package/dist/ui/buttons/edit.mjs +2 -1
  341. package/dist/ui/buttons/edit.mjs.map +1 -0
  342. package/dist/ui/buttons/refresh.cjs +2 -1
  343. package/dist/ui/buttons/refresh.cjs.map +1 -0
  344. package/dist/ui/buttons/refresh.d.cts +16 -2
  345. package/dist/ui/buttons/refresh.d.mts +16 -2
  346. package/dist/ui/buttons/refresh.mjs +2 -1
  347. package/dist/ui/buttons/refresh.mjs.map +1 -0
  348. package/dist/ui/buttons/trash.cjs +2 -1
  349. package/dist/ui/buttons/trash.cjs.map +1 -0
  350. package/dist/ui/buttons/trash.d.cts +16 -2
  351. package/dist/ui/buttons/trash.d.mts +16 -2
  352. package/dist/ui/buttons/trash.mjs +2 -1
  353. package/dist/ui/buttons/trash.mjs.map +1 -0
  354. package/dist/ui/buttons/upload-image.cjs +2 -1
  355. package/dist/ui/buttons/upload-image.cjs.map +1 -0
  356. package/dist/ui/buttons/upload-image.d.cts +23 -2
  357. package/dist/ui/buttons/upload-image.d.mts +23 -2
  358. package/dist/ui/buttons/upload-image.mjs +2 -1
  359. package/dist/ui/buttons/upload-image.mjs.map +1 -0
  360. package/dist/ui/calendar.cjs +2 -1
  361. package/dist/ui/calendar.cjs.map +1 -0
  362. package/dist/ui/calendar.d.cts +43 -2
  363. package/dist/ui/calendar.d.mts +43 -3
  364. package/dist/ui/calendar.mjs +2 -1
  365. package/dist/ui/calendar.mjs.map +1 -0
  366. package/dist/ui/card.cjs +2 -1
  367. package/dist/ui/card.cjs.map +1 -0
  368. package/dist/ui/card.d.cts +60 -2
  369. package/dist/ui/card.d.mts +60 -2
  370. package/dist/ui/card.mjs +2 -1
  371. package/dist/ui/card.mjs.map +1 -0
  372. package/dist/ui/carousel.cjs +2 -1
  373. package/dist/ui/carousel.cjs.map +1 -0
  374. package/dist/ui/carousel.d.cts +70 -2
  375. package/dist/ui/carousel.d.mts +70 -3
  376. package/dist/ui/carousel.mjs +2 -1
  377. package/dist/ui/carousel.mjs.map +1 -0
  378. package/dist/ui/checkbox.cjs +2 -1
  379. package/dist/ui/checkbox.cjs.map +1 -0
  380. package/dist/ui/checkbox.d.cts +24 -2
  381. package/dist/ui/checkbox.d.mts +24 -2
  382. package/dist/ui/checkbox.mjs +2 -1
  383. package/dist/ui/checkbox.mjs.map +1 -0
  384. package/dist/ui/collapsible.cjs +2 -1
  385. package/dist/ui/collapsible.cjs.map +1 -0
  386. package/dist/ui/collapsible.d.cts +32 -2
  387. package/dist/ui/collapsible.d.mts +32 -2
  388. package/dist/ui/collapsible.mjs +2 -1
  389. package/dist/ui/collapsible.mjs.map +1 -0
  390. package/dist/ui/command.cjs +2 -1
  391. package/dist/ui/command.cjs.map +1 -0
  392. package/dist/ui/command.d.cts +87 -2
  393. package/dist/ui/command.d.mts +87 -3
  394. package/dist/ui/command.mjs +2 -1
  395. package/dist/ui/command.mjs.map +1 -0
  396. package/dist/ui/context-menu.cjs +2 -1
  397. package/dist/ui/context-menu.cjs.map +1 -0
  398. package/dist/ui/context-menu.d.cts +123 -2
  399. package/dist/ui/context-menu.d.mts +123 -2
  400. package/dist/ui/context-menu.mjs +2 -1
  401. package/dist/ui/context-menu.mjs.map +1 -0
  402. package/dist/ui/dialog.cjs +2 -1
  403. package/dist/ui/dialog.cjs.map +1 -0
  404. package/dist/ui/dialog.d.cts +1 -1
  405. package/dist/ui/dialog.d.mts +1 -1
  406. package/dist/ui/dialog.mjs +2 -1
  407. package/dist/ui/dialog.mjs.map +1 -0
  408. package/dist/ui/drawer.cjs +2 -1
  409. package/dist/ui/drawer.cjs.map +1 -0
  410. package/dist/ui/drawer.d.cts +70 -2
  411. package/dist/ui/drawer.d.mts +70 -2
  412. package/dist/ui/drawer.mjs +2 -1
  413. package/dist/ui/drawer.mjs.map +1 -0
  414. package/dist/ui/dropdown-menu.cjs +2 -1
  415. package/dist/ui/dropdown-menu.cjs.map +1 -0
  416. package/dist/ui/dropdown-menu.d.cts +125 -2
  417. package/dist/ui/dropdown-menu.d.mts +125 -2
  418. package/dist/ui/dropdown-menu.mjs +2 -1
  419. package/dist/ui/dropdown-menu.mjs.map +1 -0
  420. package/dist/ui/empty.cjs +2 -1
  421. package/dist/ui/empty.cjs.map +1 -0
  422. package/dist/ui/empty.d.cts +65 -2
  423. package/dist/ui/empty.d.mts +65 -2
  424. package/dist/ui/empty.mjs +2 -1
  425. package/dist/ui/empty.mjs.map +1 -0
  426. package/dist/ui/field.cjs +2 -1
  427. package/dist/ui/field.cjs.map +1 -0
  428. package/dist/ui/field.d.cts +22 -24
  429. package/dist/ui/field.d.mts +22 -24
  430. package/dist/ui/field.mjs +2 -1
  431. package/dist/ui/field.mjs.map +1 -0
  432. package/dist/ui/file-uploader.cjs +3 -1
  433. package/dist/ui/file-uploader.cjs.map +1 -0
  434. package/dist/ui/file-uploader.d.cts +101 -2
  435. package/dist/ui/file-uploader.d.mts +101 -2
  436. package/dist/ui/file-uploader.mjs +3 -1
  437. package/dist/ui/file-uploader.mjs.map +1 -0
  438. package/dist/ui/form.cjs +2 -1
  439. package/dist/ui/form.cjs.map +1 -0
  440. package/dist/ui/form.d.cts +109 -2
  441. package/dist/ui/form.d.mts +109 -2
  442. package/dist/ui/form.mjs +2 -1
  443. package/dist/ui/form.mjs.map +1 -0
  444. package/dist/ui/hover-card.cjs +2 -1
  445. package/dist/ui/hover-card.cjs.map +1 -0
  446. package/dist/ui/hover-card.d.cts +35 -2
  447. package/dist/ui/hover-card.d.mts +35 -2
  448. package/dist/ui/hover-card.mjs +2 -1
  449. package/dist/ui/hover-card.mjs.map +1 -0
  450. package/dist/ui/image.cjs +2 -1
  451. package/dist/ui/image.cjs.map +1 -0
  452. package/dist/ui/image.d.cts +27 -2
  453. package/dist/ui/image.d.mts +27 -2
  454. package/dist/ui/image.mjs +2 -1
  455. package/dist/ui/image.mjs.map +1 -0
  456. package/dist/ui/input-otp.cjs +2 -1
  457. package/dist/ui/input-otp.cjs.map +1 -0
  458. package/dist/ui/input-otp.d.cts +56 -2
  459. package/dist/ui/input-otp.d.mts +56 -2
  460. package/dist/ui/input-otp.mjs +2 -1
  461. package/dist/ui/input-otp.mjs.map +1 -0
  462. package/dist/ui/input.cjs +2 -1
  463. package/dist/ui/input.cjs.map +1 -0
  464. package/dist/ui/input.d.cts +1 -1
  465. package/dist/ui/input.d.mts +1 -1
  466. package/dist/ui/input.mjs +2 -1
  467. package/dist/ui/input.mjs.map +1 -0
  468. package/dist/ui/inputs/search-input.cjs +2 -1
  469. package/dist/ui/inputs/search-input.cjs.map +1 -0
  470. package/dist/ui/inputs/search-input.d.cts +27 -2
  471. package/dist/ui/inputs/search-input.d.mts +27 -3
  472. package/dist/ui/inputs/search-input.mjs +2 -1
  473. package/dist/ui/inputs/search-input.mjs.map +1 -0
  474. package/dist/ui/item.cjs +2 -1
  475. package/dist/ui/item.cjs.map +1 -0
  476. package/dist/ui/item.d.cts +99 -2
  477. package/dist/ui/item.d.mts +99 -3
  478. package/dist/ui/item.mjs +2 -1
  479. package/dist/ui/item.mjs.map +1 -0
  480. package/dist/ui/label.cjs +2 -1
  481. package/dist/ui/label.cjs.map +1 -0
  482. package/dist/ui/label.d.cts +22 -2
  483. package/dist/ui/label.d.mts +22 -2
  484. package/dist/ui/label.mjs +2 -1
  485. package/dist/ui/label.mjs.map +1 -0
  486. package/dist/ui/menubar.cjs +2 -1
  487. package/dist/ui/menubar.cjs.map +1 -0
  488. package/dist/ui/menubar.d.cts +133 -2
  489. package/dist/ui/menubar.d.mts +133 -2
  490. package/dist/ui/menubar.mjs +2 -1
  491. package/dist/ui/menubar.mjs.map +1 -0
  492. package/dist/ui/multi-select.cjs +2 -1
  493. package/dist/ui/multi-select.cjs.map +1 -0
  494. package/dist/ui/multi-select.d.cts +116 -2
  495. package/dist/ui/multi-select.d.mts +116 -4
  496. package/dist/ui/multi-select.mjs +2 -1
  497. package/dist/ui/multi-select.mjs.map +1 -0
  498. package/dist/ui/navigation-menu.cjs +2 -1
  499. package/dist/ui/navigation-menu.cjs.map +1 -0
  500. package/dist/ui/navigation-menu.d.cts +73 -2
  501. package/dist/ui/navigation-menu.d.mts +73 -2
  502. package/dist/ui/navigation-menu.mjs +2 -1
  503. package/dist/ui/navigation-menu.mjs.map +1 -0
  504. package/dist/ui/pagination.cjs +2 -1
  505. package/dist/ui/pagination.cjs.map +1 -0
  506. package/dist/ui/pagination.d.cts +64 -2
  507. package/dist/ui/pagination.d.mts +64 -3
  508. package/dist/ui/pagination.mjs +2 -1
  509. package/dist/ui/pagination.mjs.map +1 -0
  510. package/dist/ui/popover.cjs +2 -1
  511. package/dist/ui/popover.cjs.map +1 -0
  512. package/dist/ui/popover.d.cts +50 -2
  513. package/dist/ui/popover.d.mts +50 -2
  514. package/dist/ui/popover.mjs +2 -1
  515. package/dist/ui/popover.mjs.map +1 -0
  516. package/dist/ui/progress.cjs +2 -1
  517. package/dist/ui/progress.cjs.map +1 -0
  518. package/dist/ui/progress.d.cts +21 -2
  519. package/dist/ui/progress.d.mts +21 -2
  520. package/dist/ui/progress.mjs +2 -1
  521. package/dist/ui/progress.mjs.map +1 -0
  522. package/dist/ui/radio-group.cjs +2 -1
  523. package/dist/ui/radio-group.cjs.map +1 -0
  524. package/dist/ui/radio-group.d.cts +35 -2
  525. package/dist/ui/radio-group.d.mts +35 -2
  526. package/dist/ui/radio-group.mjs +2 -1
  527. package/dist/ui/radio-group.mjs.map +1 -0
  528. package/dist/ui/resizable.cjs +2 -1
  529. package/dist/ui/resizable.cjs.map +1 -0
  530. package/dist/ui/resizable.d.cts +1 -1
  531. package/dist/ui/resizable.d.mts +1 -1
  532. package/dist/ui/resizable.mjs +2 -1
  533. package/dist/ui/resizable.mjs.map +1 -0
  534. package/dist/ui/scroll-area.cjs +2 -1
  535. package/dist/ui/scroll-area.cjs.map +1 -0
  536. package/dist/ui/scroll-area.d.cts +35 -2
  537. package/dist/ui/scroll-area.d.mts +35 -2
  538. package/dist/ui/scroll-area.mjs +2 -1
  539. package/dist/ui/scroll-area.mjs.map +1 -0
  540. package/dist/ui/select.cjs +2 -1
  541. package/dist/ui/select.cjs.map +1 -0
  542. package/dist/ui/select.d.cts +74 -2
  543. package/dist/ui/select.d.mts +74 -2
  544. package/dist/ui/select.mjs +2 -1
  545. package/dist/ui/select.mjs.map +1 -0
  546. package/dist/ui/separator.cjs +2 -1
  547. package/dist/ui/separator.cjs.map +1 -0
  548. package/dist/ui/separator.d.cts +32 -2
  549. package/dist/ui/separator.d.mts +32 -2
  550. package/dist/ui/separator.mjs +2 -1
  551. package/dist/ui/separator.mjs.map +1 -0
  552. package/dist/ui/sheet.cjs +2 -1
  553. package/dist/ui/sheet.cjs.map +1 -0
  554. package/dist/ui/sheet.d.cts +66 -2
  555. package/dist/ui/sheet.d.mts +66 -2
  556. package/dist/ui/sheet.mjs +2 -1
  557. package/dist/ui/sheet.mjs.map +1 -0
  558. package/dist/ui/skeleton.cjs +2 -1
  559. package/dist/ui/skeleton.cjs.map +1 -0
  560. package/dist/ui/skeleton.d.cts +24 -2
  561. package/dist/ui/skeleton.d.mts +24 -2
  562. package/dist/ui/skeleton.mjs +2 -1
  563. package/dist/ui/skeleton.mjs.map +1 -0
  564. package/dist/ui/slider.cjs +2 -1
  565. package/dist/ui/slider.cjs.map +1 -0
  566. package/dist/ui/slider.d.cts +24 -2
  567. package/dist/ui/slider.d.mts +24 -2
  568. package/dist/ui/slider.mjs +2 -1
  569. package/dist/ui/slider.mjs.map +1 -0
  570. package/dist/ui/sonner.cjs +2 -1
  571. package/dist/ui/sonner.cjs.map +1 -0
  572. package/dist/ui/sonner.d.cts +22 -2
  573. package/dist/ui/sonner.d.mts +22 -2
  574. package/dist/ui/sonner.mjs +2 -1
  575. package/dist/ui/sonner.mjs.map +1 -0
  576. package/dist/ui/spinner.cjs +2 -1
  577. package/dist/ui/spinner.cjs.map +1 -0
  578. package/dist/ui/spinner.d.cts +22 -2
  579. package/dist/ui/spinner.d.mts +22 -2
  580. package/dist/ui/spinner.mjs +2 -1
  581. package/dist/ui/spinner.mjs.map +1 -0
  582. package/dist/ui/switch.cjs +2 -1
  583. package/dist/ui/switch.cjs.map +1 -0
  584. package/dist/ui/switch.d.cts +24 -2
  585. package/dist/ui/switch.d.mts +24 -2
  586. package/dist/ui/switch.mjs +2 -1
  587. package/dist/ui/switch.mjs.map +1 -0
  588. package/dist/ui/table.cjs +2 -1
  589. package/dist/ui/table.cjs.map +1 -0
  590. package/dist/ui/table.d.cts +70 -2
  591. package/dist/ui/table.d.mts +70 -2
  592. package/dist/ui/table.mjs +2 -1
  593. package/dist/ui/table.mjs.map +1 -0
  594. package/dist/ui/tabs.cjs +2 -1
  595. package/dist/ui/tabs.cjs.map +1 -0
  596. package/dist/ui/tabs.d.cts +42 -2
  597. package/dist/ui/tabs.d.mts +42 -2
  598. package/dist/ui/tabs.mjs +2 -1
  599. package/dist/ui/tabs.mjs.map +1 -0
  600. package/dist/ui/textarea.cjs +2 -1
  601. package/dist/ui/textarea.cjs.map +1 -0
  602. package/dist/ui/textarea.d.cts +26 -2
  603. package/dist/ui/textarea.d.mts +26 -2
  604. package/dist/ui/textarea.mjs +2 -1
  605. package/dist/ui/textarea.mjs.map +1 -0
  606. package/dist/ui/toggle-group.cjs +2 -1
  607. package/dist/ui/toggle-group.cjs.map +1 -0
  608. package/dist/ui/toggle-group.d.cts +37 -2
  609. package/dist/ui/toggle-group.d.mts +37 -3
  610. package/dist/ui/toggle-group.mjs +2 -1
  611. package/dist/ui/toggle-group.mjs.map +1 -0
  612. package/dist/ui/toggle.cjs +2 -1
  613. package/dist/ui/toggle.cjs.map +1 -0
  614. package/dist/ui/toggle.d.cts +30 -2
  615. package/dist/ui/toggle.d.mts +30 -2
  616. package/dist/ui/toggle.mjs +2 -1
  617. package/dist/ui/toggle.mjs.map +1 -0
  618. package/dist/ui/tooltip.cjs +2 -1
  619. package/dist/ui/tooltip.cjs.map +1 -0
  620. package/dist/ui/tooltip.d.cts +53 -2
  621. package/dist/ui/tooltip.d.mts +53 -2
  622. package/dist/ui/tooltip.mjs +2 -1
  623. package/dist/ui/tooltip.mjs.map +1 -0
  624. package/package.json +2 -2
  625. package/dist/FeatureDeveloping-Bpmk3ZyS.d.cts +0 -43
  626. package/dist/FeatureDeveloping-CVFrndc_.cjs +0 -2
  627. package/dist/FeatureDeveloping-CVFrndc_.cjs.map +0 -1
  628. package/dist/FeatureDeveloping-k_14m44U.mjs +0 -2
  629. package/dist/FeatureDeveloping-k_14m44U.mjs.map +0 -1
  630. package/dist/FeatureDeveloping-oS433qZK.d.mts +0 -43
  631. package/dist/FeatureFixing-CRTE4tkV.d.mts +0 -43
  632. package/dist/FeatureFixing-CqDnOmou.cjs +0 -2
  633. package/dist/FeatureFixing-CqDnOmou.cjs.map +0 -1
  634. package/dist/FeatureFixing-D7qYhigu.mjs +0 -2
  635. package/dist/FeatureFixing-D7qYhigu.mjs.map +0 -1
  636. package/dist/FeatureFixing-Vwb-odpJ.d.cts +0 -43
  637. package/dist/LoginPage-B7SgjP72.d.cts +0 -55
  638. package/dist/LoginPage-BDh57TIY.mjs +0 -2
  639. package/dist/LoginPage-BDh57TIY.mjs.map +0 -1
  640. package/dist/LoginPage-Bsh_Wo-4.d.mts +0 -55
  641. package/dist/LoginPage-CSewNEGN.cjs +0 -2
  642. package/dist/LoginPage-CSewNEGN.cjs.map +0 -1
  643. package/dist/NotAuthorized-B1nln3YY.d.mts +0 -43
  644. package/dist/NotAuthorized-BBlhgNjt.cjs +0 -2
  645. package/dist/NotAuthorized-BBlhgNjt.cjs.map +0 -1
  646. package/dist/NotAuthorized-DcXH7UbQ.d.cts +0 -43
  647. package/dist/NotAuthorized-xXIwCXtZ.mjs +0 -2
  648. package/dist/NotAuthorized-xXIwCXtZ.mjs.map +0 -1
  649. package/dist/NotFound-BOAR7QCc.cjs +0 -2
  650. package/dist/NotFound-BOAR7QCc.cjs.map +0 -1
  651. package/dist/NotFound-Co0y_Fpa.d.cts +0 -43
  652. package/dist/NotFound-H7T1wCkf.mjs +0 -2
  653. package/dist/NotFound-H7T1wCkf.mjs.map +0 -1
  654. package/dist/NotFound-Kvw-yvr_.d.mts +0 -43
  655. package/dist/RegisterPage-BI5efPEP.cjs +0 -2
  656. package/dist/RegisterPage-BI5efPEP.cjs.map +0 -1
  657. package/dist/RegisterPage-DKiXE8U6.d.mts +0 -52
  658. package/dist/RegisterPage-DluyCA1L.mjs +0 -2
  659. package/dist/RegisterPage-DluyCA1L.mjs.map +0 -1
  660. package/dist/RegisterPage-qEpX0gUP.d.cts +0 -52
  661. package/dist/VerifyEmailPage-D3U6V5IR.mjs +0 -2
  662. package/dist/VerifyEmailPage-D3U6V5IR.mjs.map +0 -1
  663. package/dist/VerifyEmailPage-DRQiyUqo.cjs +0 -2
  664. package/dist/VerifyEmailPage-DRQiyUqo.cjs.map +0 -1
  665. package/dist/VerifyEmailPage-Dd59Girn.d.cts +0 -64
  666. package/dist/VerifyEmailPage-ZaRE0r8m.d.mts +0 -64
  667. package/dist/add-new-B35fn_Bz.mjs +0 -2
  668. package/dist/add-new-B35fn_Bz.mjs.map +0 -1
  669. package/dist/add-new-DqRZeMNy.d.mts +0 -17
  670. package/dist/add-new-deaz-L5t.cjs +0 -2
  671. package/dist/add-new-deaz-L5t.cjs.map +0 -1
  672. package/dist/add-new-pqYC7xmc.d.cts +0 -17
  673. package/dist/alert-DDdHIRib.cjs +0 -2
  674. package/dist/alert-dialog-B9ThoUnv.cjs +0 -2
  675. package/dist/alert-dialog-B9ThoUnv.cjs.map +0 -1
  676. package/dist/alert-dialog-D0jOWqaA.d.mts +0 -90
  677. package/dist/alert-dialog-DqIS6qRz.mjs +0 -2
  678. package/dist/alert-dialog-DqIS6qRz.mjs.map +0 -1
  679. package/dist/alert-dialog-TBiCQ9Ty.d.cts +0 -90
  680. package/dist/aspect-ratio-BsfIALEV.d.mts +0 -24
  681. package/dist/aspect-ratio-Cd2mBXiE.cjs +0 -2
  682. package/dist/aspect-ratio-Cd2mBXiE.cjs.map +0 -1
  683. package/dist/aspect-ratio-DP12ssDX.mjs +0 -2
  684. package/dist/aspect-ratio-DP12ssDX.mjs.map +0 -1
  685. package/dist/aspect-ratio-Dy7SplBM.d.cts +0 -24
  686. package/dist/avatar-CVRRoJ05.cjs +0 -2
  687. package/dist/avatar-CVRRoJ05.cjs.map +0 -1
  688. package/dist/avatar-XFoz-EPk.d.cts +0 -35
  689. package/dist/avatar-tjgTFpVU.mjs +0 -2
  690. package/dist/avatar-tjgTFpVU.mjs.map +0 -1
  691. package/dist/avatar-zDJh1tw9.d.mts +0 -35
  692. package/dist/badge-7bcsD0vA.cjs +0 -2
  693. package/dist/badge-7bcsD0vA.cjs.map +0 -1
  694. package/dist/badge-CG6dbI29.mjs +0 -2
  695. package/dist/badge-CG6dbI29.mjs.map +0 -1
  696. package/dist/breadcrumb-BhUXmEGd.d.cts +0 -72
  697. package/dist/breadcrumb-D5EVqGzZ.d.mts +0 -72
  698. package/dist/breadcrumb-DgCIacvh.cjs +0 -2
  699. package/dist/breadcrumb-DgCIacvh.cjs.map +0 -1
  700. package/dist/breadcrumb-RCZAaQ1l.mjs +0 -2
  701. package/dist/breadcrumb-RCZAaQ1l.mjs.map +0 -1
  702. package/dist/button-C--DAN1D.cjs +0 -2
  703. package/dist/button-C--DAN1D.cjs.map +0 -1
  704. package/dist/button-CCVJTHBI.mjs +0 -2
  705. package/dist/button-CCVJTHBI.mjs.map +0 -1
  706. package/dist/button-group-4oHvYHtz.cjs +0 -2
  707. package/dist/button-group-4oHvYHtz.cjs.map +0 -1
  708. package/dist/button-group-CDRMmMyT.d.cts +0 -50
  709. package/dist/button-group-CRuT_zEE.mjs +0 -2
  710. package/dist/button-group-CRuT_zEE.mjs.map +0 -1
  711. package/dist/button-group-wrn32Sqe.d.mts +0 -50
  712. package/dist/button.variants-4kw6plrv.cjs +0 -2
  713. package/dist/calendar-BUPDN6CU.d.cts +0 -45
  714. package/dist/calendar-Boz9U-O2.d.mts +0 -45
  715. package/dist/calendar-CTyL_3WY.cjs +0 -2
  716. package/dist/calendar-CTyL_3WY.cjs.map +0 -1
  717. package/dist/calendar-DyzwC2TQ.mjs +0 -2
  718. package/dist/calendar-DyzwC2TQ.mjs.map +0 -1
  719. package/dist/card-B8Pm6iEs.cjs +0 -2
  720. package/dist/card-B8Pm6iEs.cjs.map +0 -1
  721. package/dist/card-DDM5jg3U.d.mts +0 -63
  722. package/dist/card-DpQKFp4f.mjs +0 -2
  723. package/dist/card-DpQKFp4f.mjs.map +0 -1
  724. package/dist/card-a8tqytoT.d.cts +0 -63
  725. package/dist/carousel-BayGB372.cjs +0 -2
  726. package/dist/carousel-BayGB372.cjs.map +0 -1
  727. package/dist/carousel-Cm4szl4A.d.cts +0 -71
  728. package/dist/carousel-D8xUkFZ-.mjs +0 -2
  729. package/dist/carousel-D8xUkFZ-.mjs.map +0 -1
  730. package/dist/carousel-Y5TlCJ96.d.mts +0 -71
  731. package/dist/checkbox-Bbn3OZQd.d.mts +0 -26
  732. package/dist/checkbox-Bt4BgYMB.cjs +0 -2
  733. package/dist/checkbox-Bt4BgYMB.cjs.map +0 -1
  734. package/dist/checkbox-CBhlnGGv.mjs +0 -2
  735. package/dist/checkbox-CBhlnGGv.mjs.map +0 -1
  736. package/dist/checkbox-CccXRTYH.d.cts +0 -26
  737. package/dist/chunk-350yNsax.cjs +0 -1
  738. package/dist/close-Co-WLsSG.mjs.map +0 -1
  739. package/dist/close-DYBVx-8O.cjs +0 -2
  740. package/dist/close-DYBVx-8O.cjs.map +0 -1
  741. package/dist/cms-layout-B7lc5hIX.mjs +0 -2
  742. package/dist/cms-layout-B7lc5hIX.mjs.map +0 -1
  743. package/dist/cms-layout-DeTdDLXr.cjs +0 -2
  744. package/dist/cms-layout-DeTdDLXr.cjs.map +0 -1
  745. package/dist/collapsible-CLr3JLeA.mjs +0 -2
  746. package/dist/collapsible-CLr3JLeA.mjs.map +0 -1
  747. package/dist/collapsible-LInIoQlU.d.cts +0 -34
  748. package/dist/collapsible-RWAWE2lS.d.mts +0 -34
  749. package/dist/collapsible-rx0m3LuF.cjs +0 -2
  750. package/dist/collapsible-rx0m3LuF.cjs.map +0 -1
  751. package/dist/command-BQFbzzTr.cjs +0 -2
  752. package/dist/command-BQFbzzTr.cjs.map +0 -1
  753. package/dist/command-BlvmwwTr.d.mts +0 -89
  754. package/dist/command-CQMdYoAm.mjs +0 -2
  755. package/dist/command-CQMdYoAm.mjs.map +0 -1
  756. package/dist/command-DAudAVpm.d.cts +0 -89
  757. package/dist/confirm-dialog-C5ULtwJE.cjs +0 -2
  758. package/dist/confirm-dialog-C5ULtwJE.cjs.map +0 -1
  759. package/dist/confirm-dialog-CNWJKBc9.d.mts +0 -142
  760. package/dist/confirm-dialog-DG_3RvTI.d.cts +0 -142
  761. package/dist/confirm-dialog-u2GP8uPi.mjs +0 -2
  762. package/dist/confirm-dialog-u2GP8uPi.mjs.map +0 -1
  763. package/dist/context-menu-C9nXY3Bq.d.cts +0 -125
  764. package/dist/context-menu-CplWspvB.cjs +0 -2
  765. package/dist/context-menu-CplWspvB.cjs.map +0 -1
  766. package/dist/context-menu-DrF_sQB1.d.mts +0 -125
  767. package/dist/context-menu-a50s2_E_.mjs +0 -2
  768. package/dist/context-menu-a50s2_E_.mjs.map +0 -1
  769. package/dist/country-BHMqKldc.d.mts +0 -22
  770. package/dist/country-CnXNnGmY.cjs +0 -2
  771. package/dist/country-CnXNnGmY.cjs.map +0 -1
  772. package/dist/country-DUD_q-yS.d.cts +0 -22
  773. package/dist/country-lc1l_viY.mjs +0 -2
  774. package/dist/country-lc1l_viY.mjs.map +0 -1
  775. package/dist/data-list-BGmCL71V.cjs +0 -2
  776. package/dist/data-list-BGmCL71V.cjs.map +0 -1
  777. package/dist/data-list-CXWcUFU1.mjs +0 -2
  778. package/dist/data-list-CXWcUFU1.mjs.map +0 -1
  779. package/dist/data-list-Chl3KU5n.d.mts +0 -43
  780. package/dist/data-list-DwyNusTs.d.cts +0 -43
  781. package/dist/date-88lk-VJF.mjs.map +0 -1
  782. package/dist/date-BBBx-rIM.cjs +0 -2
  783. package/dist/date-BBBx-rIM.cjs.map +0 -1
  784. package/dist/date-tooltip-BdVWCJlg.cjs +0 -2
  785. package/dist/date-tooltip-BdVWCJlg.cjs.map +0 -1
  786. package/dist/date-tooltip-CoPcr3Ju.d.mts +0 -19
  787. package/dist/date-tooltip-DZ3NlfdZ.d.cts +0 -19
  788. package/dist/date-tooltip-OPAmlgBg.mjs +0 -2
  789. package/dist/date-tooltip-OPAmlgBg.mjs.map +0 -1
  790. package/dist/date-viiYGAtR.d.mts +0 -39
  791. package/dist/date-xQIXRJ71.d.cts +0 -39
  792. package/dist/descriptions-CgkBHjKD.mjs +0 -2
  793. package/dist/descriptions-CgkBHjKD.mjs.map +0 -1
  794. package/dist/descriptions-RNxfgfpM.cjs +0 -2
  795. package/dist/descriptions-RNxfgfpM.cjs.map +0 -1
  796. package/dist/detail-dialog-BLApH3eD.cjs +0 -2
  797. package/dist/detail-dialog-BLApH3eD.cjs.map +0 -1
  798. package/dist/detail-dialog-CXKrznrp.mjs +0 -2
  799. package/dist/detail-dialog-CXKrznrp.mjs.map +0 -1
  800. package/dist/dialog--BvCecaD.mjs +0 -2
  801. package/dist/dialog--BvCecaD.mjs.map +0 -1
  802. package/dist/dialog-DNEUhYSv.cjs +0 -2
  803. package/dist/dialog-DNEUhYSv.cjs.map +0 -1
  804. package/dist/dist-Cx5ufCdr.cjs +0 -2
  805. package/dist/drawer-BYYCsheu.mjs +0 -2
  806. package/dist/drawer-BYYCsheu.mjs.map +0 -1
  807. package/dist/drawer-CjnhVMTw.d.mts +0 -72
  808. package/dist/drawer-DqAutQLS.d.cts +0 -72
  809. package/dist/drawer-H8uD0q-C.cjs +0 -2
  810. package/dist/drawer-H8uD0q-C.cjs.map +0 -1
  811. package/dist/dropdown-menu-CpA9s4II.d.cts +0 -127
  812. package/dist/dropdown-menu-CtJ_OM19.cjs +0 -2
  813. package/dist/dropdown-menu-CtJ_OM19.cjs.map +0 -1
  814. package/dist/dropdown-menu-DhKquziD.mjs +0 -2
  815. package/dist/dropdown-menu-DhKquziD.mjs.map +0 -1
  816. package/dist/dropdown-menu-aDVEkr4L.d.mts +0 -127
  817. package/dist/edit-B6hhKU53.d.cts +0 -17
  818. package/dist/edit-CJH1v_md.d.mts +0 -17
  819. package/dist/edit-DwHuMQMh.cjs +0 -2
  820. package/dist/edit-DwHuMQMh.cjs.map +0 -1
  821. package/dist/edit-FIiUWxZq.mjs +0 -2
  822. package/dist/edit-FIiUWxZq.mjs.map +0 -1
  823. package/dist/empty-BhV9ASYf.d.mts +0 -68
  824. package/dist/empty-CmIJYhmV.cjs +0 -2
  825. package/dist/empty-CmIJYhmV.cjs.map +0 -1
  826. package/dist/empty-CoKfJtGD.mjs +0 -2
  827. package/dist/empty-CoKfJtGD.mjs.map +0 -1
  828. package/dist/empty-D6t3C3WX.mjs +0 -2
  829. package/dist/empty-D6t3C3WX.mjs.map +0 -1
  830. package/dist/empty-DaK_4UmN.d.cts +0 -68
  831. package/dist/empty-OVsSwbVn.d.mts +0 -21
  832. package/dist/empty-dUZoxaBx.cjs +0 -2
  833. package/dist/empty-dUZoxaBx.cjs.map +0 -1
  834. package/dist/empty-z1Ft5uT1.d.cts +0 -21
  835. package/dist/error-dialog-B8CXPcst.cjs +0 -2
  836. package/dist/error-dialog-B8CXPcst.cjs.map +0 -1
  837. package/dist/error-dialog-D0jvqNoY.d.mts +0 -25
  838. package/dist/error-dialog-DlwWpKEY.d.cts +0 -25
  839. package/dist/error-dialog-DnntjOS9.mjs +0 -2
  840. package/dist/error-dialog-DnntjOS9.mjs.map +0 -1
  841. package/dist/field-BxYoF5AX.mjs +0 -2
  842. package/dist/field-BxYoF5AX.mjs.map +0 -1
  843. package/dist/field-fIef7NR0.cjs +0 -2
  844. package/dist/field-fIef7NR0.cjs.map +0 -1
  845. package/dist/file-uploader-BM0x9VBh.cjs +0 -3
  846. package/dist/file-uploader-BM0x9VBh.cjs.map +0 -1
  847. package/dist/file-uploader-BTWXTBeQ.mjs +0 -3
  848. package/dist/file-uploader-BTWXTBeQ.mjs.map +0 -1
  849. package/dist/file-uploader-Bcq3zzxa.d.cts +0 -103
  850. package/dist/file-uploader-nUOkG_fv.d.mts +0 -103
  851. package/dist/flex-BSTiMh2t.d.mts +0 -117
  852. package/dist/flex-Bx9Nmr53.mjs +0 -2
  853. package/dist/flex-Bx9Nmr53.mjs.map +0 -1
  854. package/dist/flex-ClUVVSda.d.cts +0 -117
  855. package/dist/flex-ld7BqXoM.cjs +0 -2
  856. package/dist/flex-ld7BqXoM.cjs.map +0 -1
  857. package/dist/form-BZAtjwSL.d.mts +0 -112
  858. package/dist/form-Cek0ebE_.d.cts +0 -112
  859. package/dist/form-DvtaketZ.mjs +0 -2
  860. package/dist/form-DvtaketZ.mjs.map +0 -1
  861. package/dist/form-RLIQQ3uV.cjs +0 -2
  862. package/dist/form-RLIQQ3uV.cjs.map +0 -1
  863. package/dist/google-BWOrgvy8.d.mts +0 -53
  864. package/dist/google-C4F5wQ9e.mjs +0 -2
  865. package/dist/google-C4F5wQ9e.mjs.map +0 -1
  866. package/dist/google-Cy0_rdmN.cjs +0 -2
  867. package/dist/google-Cy0_rdmN.cjs.map +0 -1
  868. package/dist/google-Dyb44d8Y.d.cts +0 -53
  869. package/dist/grid-BOqzD6m6.d.cts +0 -19
  870. package/dist/grid-BXJ2x1oD.cjs +0 -2
  871. package/dist/grid-BXJ2x1oD.cjs.map +0 -1
  872. package/dist/grid-C4ogfMWr.mjs +0 -2
  873. package/dist/grid-C4ogfMWr.mjs.map +0 -1
  874. package/dist/grid-Dw7tBNxf.d.mts +0 -19
  875. package/dist/grid-product-card-BD8EVmk6.d.cts +0 -37
  876. package/dist/grid-product-card-BpciVETd.cjs +0 -2
  877. package/dist/grid-product-card-BpciVETd.cjs.map +0 -1
  878. package/dist/grid-product-card-BtZwWaMo.mjs +0 -2
  879. package/dist/grid-product-card-BtZwWaMo.mjs.map +0 -1
  880. package/dist/grid-product-card-CoFzQiFm.d.mts +0 -37
  881. package/dist/heading-De4Pn3mZ.mjs +0 -2
  882. package/dist/heading-tGTqk3pA.cjs +0 -2
  883. package/dist/hover-card-D2gz257Y.d.cts +0 -37
  884. package/dist/hover-card-DMVePTD9.mjs +0 -2
  885. package/dist/hover-card-DMVePTD9.mjs.map +0 -1
  886. package/dist/hover-card-Dsf0S6eo.d.mts +0 -37
  887. package/dist/hover-card-Pde4G6Fc.cjs +0 -2
  888. package/dist/hover-card-Pde4G6Fc.cjs.map +0 -1
  889. package/dist/image-BBPrcvIr.d.cts +0 -36
  890. package/dist/image-CbZwvmmL.mjs +0 -2
  891. package/dist/image-CbZwvmmL.mjs.map +0 -1
  892. package/dist/image-CwnOaUW7.d.mts +0 -36
  893. package/dist/image-eYMg5TSJ.cjs +0 -2
  894. package/dist/image-eYMg5TSJ.cjs.map +0 -1
  895. package/dist/index-1T84UTtI.d.mts +0 -1707
  896. package/dist/index-B03QzDx1.d.mts +0 -17
  897. package/dist/index-BQZ2-xGQ.d.cts +0 -246
  898. package/dist/index-BWLHjQ6S.d.cts +0 -74
  899. package/dist/index-D4T3Qd4m.d.cts +0 -45
  900. package/dist/index-DC7NHLfc.d.cts +0 -17
  901. package/dist/index-DYnzFF0T.d.mts +0 -74
  902. package/dist/index-DYp6lUbn.d.mts +0 -45
  903. package/dist/index-DyYcTYcv.d.mts +0 -246
  904. package/dist/index-x5md75cy.d.cts +0 -1707
  905. package/dist/input-BatF2xqI.cjs +0 -2
  906. package/dist/input-BatF2xqI.cjs.map +0 -1
  907. package/dist/input-CFsouxvo.mjs +0 -2
  908. package/dist/input-CFsouxvo.mjs.map +0 -1
  909. package/dist/input-otp-C9SpN7qa.mjs +0 -2
  910. package/dist/input-otp-C9SpN7qa.mjs.map +0 -1
  911. package/dist/input-otp-CMEY_7IK.d.cts +0 -59
  912. package/dist/input-otp-DXt9rivn.d.mts +0 -59
  913. package/dist/input-otp-phGylVzo.cjs +0 -2
  914. package/dist/input-otp-phGylVzo.cjs.map +0 -1
  915. package/dist/item-DSaO7I07.d.cts +0 -102
  916. package/dist/item-Dq3WIh5a.d.mts +0 -102
  917. package/dist/item-uB0ZFXtc.cjs +0 -2
  918. package/dist/item-uB0ZFXtc.cjs.map +0 -1
  919. package/dist/item-ysEJO_2s.mjs +0 -2
  920. package/dist/item-ysEJO_2s.mjs.map +0 -1
  921. package/dist/label--hinNDHW.cjs +0 -2
  922. package/dist/label--hinNDHW.cjs.map +0 -1
  923. package/dist/label-BMVyfKu9.mjs +0 -2
  924. package/dist/label-BMVyfKu9.mjs.map +0 -1
  925. package/dist/label-CCE-kS4j.d.mts +0 -24
  926. package/dist/label-DGJL4U_f.d.cts +0 -24
  927. package/dist/loading-dialog-CEkua3Lh.mjs +0 -2
  928. package/dist/loading-dialog-CEkua3Lh.mjs.map +0 -1
  929. package/dist/loading-dialog-D8kCsJID.d.cts +0 -21
  930. package/dist/loading-dialog-DLvA8-yT.d.mts +0 -21
  931. package/dist/loading-dialog-DYZmHC1A.cjs +0 -2
  932. package/dist/loading-dialog-DYZmHC1A.cjs.map +0 -1
  933. package/dist/menubar-BBFgdkch.d.cts +0 -135
  934. package/dist/menubar-Bh9Ua6gx.mjs +0 -2
  935. package/dist/menubar-Bh9Ua6gx.mjs.map +0 -1
  936. package/dist/menubar-Sr0X6In7.cjs +0 -2
  937. package/dist/menubar-Sr0X6In7.cjs.map +0 -1
  938. package/dist/menubar-b3iR0kew.d.mts +0 -135
  939. package/dist/multi-select-BHqEpbWV.d.mts +0 -117
  940. package/dist/multi-select-CBZxsmZW.mjs +0 -2
  941. package/dist/multi-select-CBZxsmZW.mjs.map +0 -1
  942. package/dist/multi-select-DdXU9QtL.d.cts +0 -117
  943. package/dist/multi-select-uHi4rmly.cjs +0 -2
  944. package/dist/multi-select-uHi4rmly.cjs.map +0 -1
  945. package/dist/name-2FXVOGc1.d.mts +0 -19
  946. package/dist/name-D7oldyH4.cjs +0 -2
  947. package/dist/name-D7oldyH4.cjs.map +0 -1
  948. package/dist/name-EKzKeq0g.mjs +0 -2
  949. package/dist/name-EKzKeq0g.mjs.map +0 -1
  950. package/dist/name-r1ATxwPZ.d.cts +0 -19
  951. package/dist/navigation-menu-BNEtQ0JM.cjs +0 -2
  952. package/dist/navigation-menu-BNEtQ0JM.cjs.map +0 -1
  953. package/dist/navigation-menu-DT9LfEFB.d.mts +0 -77
  954. package/dist/navigation-menu-Dl0kgmce.d.cts +0 -77
  955. package/dist/navigation-menu-zlpQ6hqY.mjs +0 -2
  956. package/dist/navigation-menu-zlpQ6hqY.mjs.map +0 -1
  957. package/dist/pagination-D6lKOCca.cjs +0 -2
  958. package/dist/pagination-D6lKOCca.cjs.map +0 -1
  959. package/dist/pagination-DXpyiDJW.mjs +0 -2
  960. package/dist/pagination-DXpyiDJW.mjs.map +0 -1
  961. package/dist/pagination-DYHZgmcc.d.cts +0 -67
  962. package/dist/pagination-DYMPNWwJ.d.mts +0 -67
  963. package/dist/paragraph-CLhsGG8e.d.cts +0 -48
  964. package/dist/paragraph-DYLaQtTV.mjs +0 -2
  965. package/dist/paragraph-DYLaQtTV.mjs.map +0 -1
  966. package/dist/paragraph-DvTZvbzw.cjs +0 -2
  967. package/dist/paragraph-DvTZvbzw.cjs.map +0 -1
  968. package/dist/paragraph-o9QFeg6c.d.mts +0 -48
  969. package/dist/payment-layout-BTYaI9Mr.mjs +0 -2
  970. package/dist/payment-layout-BTYaI9Mr.mjs.map +0 -1
  971. package/dist/payment-layout-neLk_obm.cjs +0 -2
  972. package/dist/payment-layout-neLk_obm.cjs.map +0 -1
  973. package/dist/phone-number-BAqPxJ5z.d.cts +0 -19
  974. package/dist/phone-number-CUjSdoHG.d.mts +0 -19
  975. package/dist/phone-number-CdfMUTj2.cjs +0 -2
  976. package/dist/phone-number-CdfMUTj2.cjs.map +0 -1
  977. package/dist/phone-number-CkxEaxxg.mjs +0 -2
  978. package/dist/phone-number-CkxEaxxg.mjs.map +0 -1
  979. package/dist/popover-BGd0Tvmy.mjs +0 -2
  980. package/dist/popover-BGd0Tvmy.mjs.map +0 -1
  981. package/dist/popover-CaU_EoBJ.d.mts +0 -52
  982. package/dist/popover-eSwUy8WP.cjs +0 -2
  983. package/dist/popover-eSwUy8WP.cjs.map +0 -1
  984. package/dist/popover-m32DoRiq.d.cts +0 -52
  985. package/dist/product-card-10gaH8bg.cjs +0 -2
  986. package/dist/product-card-10gaH8bg.cjs.map +0 -1
  987. package/dist/product-card-C0l0q2Ve.d.cts +0 -37
  988. package/dist/product-card-CWrVGqZV.d.mts +0 -37
  989. package/dist/product-card-Rwd-o9hK.mjs +0 -2
  990. package/dist/product-card-Rwd-o9hK.mjs.map +0 -1
  991. package/dist/progress-BwbACJal.d.cts +0 -23
  992. package/dist/progress-Dlgbu5Ff.cjs +0 -2
  993. package/dist/progress-Dlgbu5Ff.cjs.map +0 -1
  994. package/dist/progress-RvyBMsxb.mjs +0 -2
  995. package/dist/progress-RvyBMsxb.mjs.map +0 -1
  996. package/dist/progress-sn0IL4k4.d.mts +0 -23
  997. package/dist/radio-group-C4sIDN68.cjs +0 -2
  998. package/dist/radio-group-C4sIDN68.cjs.map +0 -1
  999. package/dist/radio-group-CD-4vNQR.mjs +0 -2
  1000. package/dist/radio-group-CD-4vNQR.mjs.map +0 -1
  1001. package/dist/radio-group-Ck0NoDHp.d.cts +0 -37
  1002. package/dist/radio-group-DeKN6NpB.d.mts +0 -37
  1003. package/dist/refresh-BFJvyuJH.cjs +0 -2
  1004. package/dist/refresh-BFJvyuJH.cjs.map +0 -1
  1005. package/dist/refresh-BjdAiL4f.d.mts +0 -17
  1006. package/dist/refresh-Bxm2I0Oe.mjs +0 -2
  1007. package/dist/refresh-Bxm2I0Oe.mjs.map +0 -1
  1008. package/dist/refresh-vK99pTVu.d.cts +0 -17
  1009. package/dist/resizable-BilIxAxi.d.mts +0 -63
  1010. package/dist/resizable-DYxHVdyf.d.cts +0 -63
  1011. package/dist/resizable-p6zxjcHs.mjs +0 -2
  1012. package/dist/resizable-p6zxjcHs.mjs.map +0 -1
  1013. package/dist/resizable-yKKhHTqx.cjs +0 -2
  1014. package/dist/resizable-yKKhHTqx.cjs.map +0 -1
  1015. package/dist/role-badge-BIgdiY5P.mjs +0 -2
  1016. package/dist/role-badge-BIgdiY5P.mjs.map +0 -1
  1017. package/dist/role-badge-BwOEEepo.cjs +0 -2
  1018. package/dist/role-badge-BwOEEepo.cjs.map +0 -1
  1019. package/dist/role-badge-CBZdPHUc.d.cts +0 -22
  1020. package/dist/role-badge-DeofJ2ep.d.mts +0 -22
  1021. package/dist/scroll-area-C7s40z6d.d.mts +0 -37
  1022. package/dist/scroll-area-CKWenzXh.d.cts +0 -37
  1023. package/dist/scroll-area-Dn3a9ZCQ.cjs +0 -2
  1024. package/dist/scroll-area-Dn3a9ZCQ.cjs.map +0 -1
  1025. package/dist/scroll-area-DrZOWroA.mjs +0 -2
  1026. package/dist/scroll-area-DrZOWroA.mjs.map +0 -1
  1027. package/dist/search-input-7m30vApQ.d.mts +0 -29
  1028. package/dist/search-input-BCYwlwtk.cjs +0 -2
  1029. package/dist/search-input-BCYwlwtk.cjs.map +0 -1
  1030. package/dist/search-input-DVtHPbme.d.cts +0 -29
  1031. package/dist/search-input-D_nJ8McN.mjs +0 -2
  1032. package/dist/search-input-D_nJ8McN.mjs.map +0 -1
  1033. package/dist/search-modal-BJhXWOiv.cjs +0 -2
  1034. package/dist/search-modal-BJhXWOiv.cjs.map +0 -1
  1035. package/dist/search-modal-BpHuii66.mjs +0 -2
  1036. package/dist/search-modal-BpHuii66.mjs.map +0 -1
  1037. package/dist/select-B5q6krCq.cjs +0 -2
  1038. package/dist/select-B5q6krCq.cjs.map +0 -1
  1039. package/dist/select-CreOhvnP.mjs +0 -2
  1040. package/dist/select-CreOhvnP.mjs.map +0 -1
  1041. package/dist/select-D0mVxToc.d.mts +0 -77
  1042. package/dist/select-D47FVDEv.d.cts +0 -77
  1043. package/dist/separator-BRoS5sU8.cjs +0 -2
  1044. package/dist/separator-BRoS5sU8.cjs.map +0 -1
  1045. package/dist/separator-BT4tDBSP.d.mts +0 -34
  1046. package/dist/separator-BjRgoiEx.mjs +0 -2
  1047. package/dist/separator-BjRgoiEx.mjs.map +0 -1
  1048. package/dist/separator-DOHFNx8Z.d.cts +0 -34
  1049. package/dist/sheet-38e14yOJ.d.cts +0 -69
  1050. package/dist/sheet-Bk6mK6TN.mjs +0 -2
  1051. package/dist/sheet-Bk6mK6TN.mjs.map +0 -1
  1052. package/dist/sheet-E5cMUzxr.cjs +0 -2
  1053. package/dist/sheet-E5cMUzxr.cjs.map +0 -1
  1054. package/dist/sheet-nSIzbJ1S.d.mts +0 -69
  1055. package/dist/sidebar-DeiQjPc8.mjs +0 -2
  1056. package/dist/sidebar-DeiQjPc8.mjs.map +0 -1
  1057. package/dist/sidebar-DzqiY6IR.cjs +0 -2
  1058. package/dist/sidebar-DzqiY6IR.cjs.map +0 -1
  1059. package/dist/simple-card-C5Rr81Sm.cjs +0 -2
  1060. package/dist/simple-card-C5Rr81Sm.cjs.map +0 -1
  1061. package/dist/simple-card-CIB1_AO0.d.mts +0 -35
  1062. package/dist/simple-card-CjJvBXKr.d.cts +0 -35
  1063. package/dist/simple-card-HEzKjzGT.mjs +0 -2
  1064. package/dist/simple-card-HEzKjzGT.mjs.map +0 -1
  1065. package/dist/skeleton-BuscPZgb.cjs +0 -2
  1066. package/dist/skeleton-BuscPZgb.cjs.map +0 -1
  1067. package/dist/skeleton-Bw3-1Ifw.d.cts +0 -27
  1068. package/dist/skeleton-teVJKfpX.mjs +0 -2
  1069. package/dist/skeleton-teVJKfpX.mjs.map +0 -1
  1070. package/dist/skeleton-wv8x-bmn.d.mts +0 -27
  1071. package/dist/slider-CPRW5ByY.cjs +0 -2
  1072. package/dist/slider-CPRW5ByY.cjs.map +0 -1
  1073. package/dist/slider-CsNzhp4K.d.cts +0 -26
  1074. package/dist/slider-RyNGQZH2.mjs +0 -2
  1075. package/dist/slider-RyNGQZH2.mjs.map +0 -1
  1076. package/dist/slider-axR5n-iU.d.mts +0 -26
  1077. package/dist/sonner-BcwAttxz.d.cts +0 -24
  1078. package/dist/sonner-DiKkRgL0.mjs +0 -2
  1079. package/dist/sonner-DiKkRgL0.mjs.map +0 -1
  1080. package/dist/sonner-hiZbh7Ma.d.mts +0 -24
  1081. package/dist/sonner-tfvnW7f9.cjs +0 -2
  1082. package/dist/sonner-tfvnW7f9.cjs.map +0 -1
  1083. package/dist/spinner-8BhR5INj.d.cts +0 -25
  1084. package/dist/spinner-BhIV1n_5.mjs +0 -2
  1085. package/dist/spinner-BhIV1n_5.mjs.map +0 -1
  1086. package/dist/spinner-BlcoDe44.cjs +0 -2
  1087. package/dist/spinner-BlcoDe44.cjs.map +0 -1
  1088. package/dist/spinner-YEHQDAMj.d.mts +0 -25
  1089. package/dist/statistic-BGynCEWL.cjs +0 -2
  1090. package/dist/statistic-BGynCEWL.cjs.map +0 -1
  1091. package/dist/statistic-C7jb2YxN.d.cts +0 -57
  1092. package/dist/statistic-DbQG1ymc.d.mts +0 -57
  1093. package/dist/statistic-fawLJa99.mjs +0 -2
  1094. package/dist/statistic-fawLJa99.mjs.map +0 -1
  1095. package/dist/switch-BTU8yOgs.mjs +0 -2
  1096. package/dist/switch-BTU8yOgs.mjs.map +0 -1
  1097. package/dist/switch-BaLJWcs6.d.cts +0 -26
  1098. package/dist/switch-DMEBc5Me.cjs +0 -2
  1099. package/dist/switch-DMEBc5Me.cjs.map +0 -1
  1100. package/dist/switch-gWDJ4yuM.d.mts +0 -26
  1101. package/dist/table-B2rDsRr1.d.cts +0 -73
  1102. package/dist/table-BmEJ-Ktq.d.mts +0 -73
  1103. package/dist/table-DUDAeitX.mjs +0 -2
  1104. package/dist/table-DUDAeitX.mjs.map +0 -1
  1105. package/dist/table-DkGeuCS6.cjs +0 -2
  1106. package/dist/table-DkGeuCS6.cjs.map +0 -1
  1107. package/dist/tables-BhRUyHnO.cjs +0 -4
  1108. package/dist/tables-BhRUyHnO.cjs.map +0 -1
  1109. package/dist/tables-Dnu1akl3.mjs +0 -4
  1110. package/dist/tables-Dnu1akl3.mjs.map +0 -1
  1111. package/dist/tabs-564E0ez3.d.mts +0 -44
  1112. package/dist/tabs-DFGhwbGp.mjs +0 -2
  1113. package/dist/tabs-DFGhwbGp.mjs.map +0 -1
  1114. package/dist/tabs-JR7-JzIe.cjs +0 -2
  1115. package/dist/tabs-JR7-JzIe.cjs.map +0 -1
  1116. package/dist/tabs-vAz8fioT.d.cts +0 -44
  1117. package/dist/tanstack-form-4b7YcChW.cjs +0 -12
  1118. package/dist/tanstack-form-4b7YcChW.cjs.map +0 -1
  1119. package/dist/tanstack-form-Bo1AZA4L.mjs +0 -12
  1120. package/dist/tanstack-form-Bo1AZA4L.mjs.map +0 -1
  1121. package/dist/text-editor-D1vX6xed.mjs +0 -2
  1122. package/dist/text-editor-D1vX6xed.mjs.map +0 -1
  1123. package/dist/text-editor-Dr8BD9Bh.cjs +0 -2
  1124. package/dist/text-editor-Dr8BD9Bh.cjs.map +0 -1
  1125. package/dist/textarea-BNYJfmS1.cjs +0 -2
  1126. package/dist/textarea-BNYJfmS1.cjs.map +0 -1
  1127. package/dist/textarea-Be2gUM3T.d.mts +0 -30
  1128. package/dist/textarea-Bh8TcWO-.mjs +0 -2
  1129. package/dist/textarea-Bh8TcWO-.mjs.map +0 -1
  1130. package/dist/textarea-DbmOLyAp.d.cts +0 -30
  1131. package/dist/title-BlFwN8RM.d.mts +0 -43
  1132. package/dist/title-CMLgxj8_.mjs +0 -2
  1133. package/dist/title-CMLgxj8_.mjs.map +0 -1
  1134. package/dist/title-DJuGuD0Q.d.cts +0 -43
  1135. package/dist/title-DR8e6bHV.cjs +0 -2
  1136. package/dist/title-DR8e6bHV.cjs.map +0 -1
  1137. package/dist/toggle-B3j94Xvr.cjs +0 -2
  1138. package/dist/toggle-B3j94Xvr.cjs.map +0 -1
  1139. package/dist/toggle-BBOteSWq.d.mts +0 -32
  1140. package/dist/toggle-D6bmp328.d.cts +0 -32
  1141. package/dist/toggle-group-5CEKhPgb.d.mts +0 -39
  1142. package/dist/toggle-group-BOubLcnF.d.cts +0 -39
  1143. package/dist/toggle-group-CAIFsPEQ.cjs +0 -2
  1144. package/dist/toggle-group-CAIFsPEQ.cjs.map +0 -1
  1145. package/dist/toggle-group-DfzLXhuE.mjs +0 -2
  1146. package/dist/toggle-group-DfzLXhuE.mjs.map +0 -1
  1147. package/dist/toggle-jTYfZSWB.mjs +0 -2
  1148. package/dist/toggle-jTYfZSWB.mjs.map +0 -1
  1149. package/dist/tooltip-BBEcyuAE.mjs +0 -2
  1150. package/dist/tooltip-BBEcyuAE.mjs.map +0 -1
  1151. package/dist/tooltip-BFQy2Oca.d.mts +0 -55
  1152. package/dist/tooltip-DBjqfkRe.d.cts +0 -55
  1153. package/dist/tooltip-KEOJcYl8.cjs +0 -2
  1154. package/dist/tooltip-KEOJcYl8.cjs.map +0 -1
  1155. package/dist/trash-BxlUz9AR.cjs +0 -2
  1156. package/dist/trash-BxlUz9AR.cjs.map +0 -1
  1157. package/dist/trash-CV_nXOkW.d.mts +0 -17
  1158. package/dist/trash-CZHL7ZuK.d.cts +0 -17
  1159. package/dist/trash-UPoDDna-.mjs +0 -2
  1160. package/dist/trash-UPoDDna-.mjs.map +0 -1
  1161. package/dist/types-BAAJEExQ.cjs +0 -2
  1162. package/dist/types-BAAJEExQ.cjs.map +0 -1
  1163. package/dist/types-DodCf0NQ.mjs +0 -2
  1164. package/dist/types-DodCf0NQ.mjs.map +0 -1
  1165. package/dist/upload-image-BsCkSEXu.d.mts +0 -24
  1166. package/dist/upload-image-CBVufZda.mjs +0 -2
  1167. package/dist/upload-image-CBVufZda.mjs.map +0 -1
  1168. package/dist/upload-image-CPWA9XOk.cjs +0 -2
  1169. package/dist/upload-image-CPWA9XOk.cjs.map +0 -1
  1170. package/dist/upload-image-CV3Xlq2w.d.cts +0 -24
  1171. package/dist/user-B2Pml0ly.cjs +0 -2
  1172. package/dist/user-B2Pml0ly.cjs.map +0 -1
  1173. package/dist/user-B5efjaOf.d.cts +0 -23
  1174. package/dist/user-Cl4BdxFy.d.mts +0 -23
  1175. package/dist/user-DpBhqdvd.mjs +0 -2
  1176. package/dist/user-DpBhqdvd.mjs.map +0 -1
@@ -0,0 +1,3341 @@
1
+ import { VariantProps } from "class-variance-authority";
2
+ import { Label } from "radix-ui";
3
+
4
+ //#region packages/components/features/tanstack-form/types.d.ts
5
+ /** Layout axis for a field's label–input arrangement. */
6
+ type FieldOrientation = 'horizontal' | 'vertical' | 'responsive';
7
+ /** Rounding strategy applied to numeric field values. */
8
+ type FieldRounding = 'up' | 'down' | 'nearest' | 'none';
9
+ /** A single option in a select, combobox, or checkbox group. */
10
+ type SelectOption = {
11
+ /** Display text shown to the user. */label: string; /** Internal value submitted with the form. */
12
+ value: string;
13
+ };
14
+ /** A single option in a radio group, optionally with a supporting description. */
15
+ type RadioOption = {
16
+ /** Display text shown next to the radio button. */label: string; /** Internal value submitted with the form. */
17
+ value: string; /** Optional secondary text rendered below the label. */
18
+ description?: string;
19
+ };
20
+ /** Value type for text, email, password, textarea, and text-editor fields. `null` means empty. */
21
+ type TextFieldValue = string | null;
22
+ /** Value type for number fields. `null` means empty. */
23
+ type NumberFieldValue = number | null;
24
+ /** Value type for switch and boolean fields. `null` means unset. */
25
+ type BooleanFieldValue = boolean | null;
26
+ /** Value type for date fields. `null` means no date selected. */
27
+ type DateFieldValue = Date | null;
28
+ /** Value type for checkbox group fields. `null` means nothing selected. */
29
+ type MultiSelectFieldValue = string[] | null;
30
+ /** Props for {@link TextField} — a single-line text input. */
31
+ type TextFieldProps = {
32
+ /** Field label displayed above or beside the input. */label: string; /** Secondary text rendered below the label. */
33
+ description?: string; /** Input placeholder shown when the value is empty. */
34
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
35
+ orientation?: FieldOrientation; /** When `true`, displays a character count below the input. */
36
+ counter?: boolean; /** Tooltip text shown in an info icon beside the label. */
37
+ tooltip?: string; /** Helper note rendered below the input. */
38
+ helperText?: string; /** When `true`, shows an × button to clear the current value. */
39
+ showClearButton?: boolean; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
40
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
41
+ required?: boolean; /** Maximum number of characters the user may enter. */
42
+ maxLength?: number; /** When `true`, disables the input. Also disabled automatically while the form is submitting. */
43
+ disabled?: boolean;
44
+ };
45
+ /** Props for {@link SimpleTextField} — a minimal single-line text input without decoration. */
46
+ type SimpleTextFieldProps = {
47
+ /** Field label rendered above the input. Omit to render label-less. */label?: string; /** Input placeholder shown when the value is empty. */
48
+ placeholder?: string; /** When `true`, appends a required asterisk to the label. */
49
+ required?: boolean; /** Maximum number of characters the user may enter. */
50
+ maxLength?: number; /** When `true`, disables the input. Also disabled automatically while the form is submitting. */
51
+ disabled?: boolean;
52
+ };
53
+ /** Props for {@link TextareaField} — a multi-line text input. */
54
+ type TextareaFieldProps = {
55
+ /** Field label displayed above or beside the textarea. */label: string; /** Secondary text rendered below the label. */
56
+ description?: string; /** Textarea placeholder shown when the value is empty. */
57
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the textarea. Defaults to `'responsive'`. */
58
+ orientation?: FieldOrientation; /** When `true`, displays a character count below the textarea. */
59
+ counter?: boolean; /** Tooltip text shown in an info icon beside the label. */
60
+ tooltip?: string; /** Helper note rendered below the textarea. */
61
+ helperText?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
62
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
63
+ required?: boolean; /** Maximum number of characters the user may enter. */
64
+ maxLength?: number; /** When `true`, disables the textarea. Also disabled automatically while the form is submitting. */
65
+ disabled?: boolean;
66
+ };
67
+ /** Props for {@link TextEditorField} — a rich-text (WYSIWYG) editor field. */
68
+ type TextEditorFieldProps = {
69
+ /** Field label displayed above the editor. */label: string; /** Secondary text rendered below the label. */
70
+ description?: string; /** Placeholder shown inside the editor when the value is empty. */
71
+ placeholder?: string; /** Tooltip text shown in an info icon beside the label. */
72
+ tooltip?: string; /** Helper note rendered below the editor. */
73
+ helperText?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
74
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
75
+ required?: boolean;
76
+ };
77
+ /** Props for {@link EmailField} — a text input pre-configured for email addresses. */
78
+ type EmailFieldProps = {
79
+ /** Field label displayed above or beside the input. */label: string; /** Secondary text rendered below the label. */
80
+ description?: string; /** Input placeholder shown when the value is empty. */
81
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
82
+ orientation?: FieldOrientation; /** Tooltip text shown in an info icon beside the label. */
83
+ tooltip?: string; /** Helper note rendered below the input. */
84
+ helperText?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
85
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
86
+ required?: boolean; /** Maximum number of characters the user may enter. */
87
+ maxLength?: number;
88
+ };
89
+ /** Props for {@link NumberField} — a numeric input with optional rounding, precision, and unit. */
90
+ type NumberFieldProps = {
91
+ /** Field label displayed above or beside the input. */label: string; /** Secondary text rendered below the label. */
92
+ description?: string; /** Input placeholder shown when the value is empty. */
93
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
94
+ orientation?: FieldOrientation; /** Tooltip text shown in an info icon beside the label. */
95
+ tooltip?: string; /** Helper note rendered below the input. */
96
+ helperText?: string; /** Rounding strategy applied when the value changes. Defaults to `'none'`. */
97
+ rounding?: FieldRounding; /** Number of decimal places displayed and enforced. */
98
+ decimalPlaces?: number; /** Maximum number of significant digits (precision). */
99
+ precision?: number; /** Unit label appended to the right of the input (e.g. `'kg'`, `'%'`). */
100
+ unit?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
101
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
102
+ required?: boolean; /** When `true`, the input accepts negative numbers. Defaults to `false`. */
103
+ allowNegative?: boolean; /** When `true`, disables the input. Also disabled automatically while the form is submitting. */
104
+ disabled?: boolean;
105
+ };
106
+ /** Props for {@link PasswordField} — a text input with a show/hide password toggle. */
107
+ type PasswordFieldProps = {
108
+ /** Field label displayed above or beside the input. */label: string; /** Secondary text rendered below the label. */
109
+ description?: string; /** Input placeholder shown when the value is empty. */
110
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the input. Defaults to `'responsive'`. */
111
+ orientation?: FieldOrientation; /** Tooltip text shown in an info icon beside the label. */
112
+ tooltip?: string; /** Helper note rendered below the input. */
113
+ helperText?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
114
+ showErrorMessage?: boolean;
115
+ };
116
+ /** Props for {@link SelectField} — a native-style dropdown for picking one option. */
117
+ type SelectFieldProps = {
118
+ /** Field label displayed above or beside the select. */label: string; /** Secondary text rendered below the label. */
119
+ description?: string; /** Placeholder text shown when no option is selected. */
120
+ placeholder?: string; /** List of options to display in the dropdown. */
121
+ options: SelectOption[]; /** Controls whether the label stacks above or sits beside the select. Defaults to `'responsive'`. */
122
+ orientation?: FieldOrientation; /** Tooltip text shown in an info icon beside the label. */
123
+ tooltip?: string; /** Helper note rendered below the select. */
124
+ helperText?: string; /** When `true`, shows a button to clear the current selection. Defaults to `false`. */
125
+ clearable?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
126
+ required?: boolean; /** When `true`, disables the select. Also disabled automatically while the form is submitting. */
127
+ disabled?: boolean; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
128
+ showErrorMessage?: boolean;
129
+ };
130
+ /** Props for {@link ComboboxField} — a searchable dropdown with keyboard navigation. On mobile it opens as a bottom drawer. */
131
+ type ComboboxFieldProps = {
132
+ /** Field label displayed above or beside the combobox. */label: string; /** Secondary text rendered below the label. */
133
+ description?: string; /** Placeholder shown in the trigger button and the search input when nothing is selected. */
134
+ placeholder?: string; /** Tooltip text shown in an info icon beside the label. */
135
+ tooltip?: string; /** Helper note rendered below the combobox. */
136
+ helperText?: string; /** Controls whether the label stacks above or sits beside the combobox. Defaults to `'responsive'`. */
137
+ orientation?: FieldOrientation; /** List of options to display in the dropdown. */
138
+ options: SelectOption[]; /** Marks the field as required; highlights the label when the value is `null`. */
139
+ required?: boolean; /** When `true`, disables the combobox. Also disabled automatically while the form is submitting. */
140
+ disabled?: boolean; /** When `true`, shows a button to clear the current selection. Defaults to `false`. */
141
+ clearable?: boolean; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
142
+ showErrorMessage?: boolean;
143
+ };
144
+ /** Props for {@link RadioGroupField} — a list of mutually exclusive radio buttons. */
145
+ type RadioGroupFieldProps = {
146
+ /** Field label displayed above the radio group. */label: string; /** Secondary text rendered below the label. */
147
+ description?: string; /** List of radio options, each with an optional description. */
148
+ options: RadioOption[]; /** Controls whether the label stacks above or sits beside the group. Defaults to `'responsive'`. */
149
+ orientation?: FieldOrientation; /** Helper note rendered below the group. */
150
+ helperText?: string; /** Tooltip text shown in an info icon beside the label. */
151
+ tooltip?: string;
152
+ };
153
+ /** Props for {@link CheckboxField} — a group of checkboxes for multi-value selection. */
154
+ type CheckboxFieldProps = {
155
+ /** Field label displayed above the checkbox group. */label: string; /** Secondary text rendered below the label. */
156
+ description?: string; /** Controls whether the label stacks above or sits beside the group. Defaults to `'responsive'`. */
157
+ orientation?: FieldOrientation; /** List of checkbox options to display. */
158
+ options: SelectOption[]; /** Helper note rendered below the group. */
159
+ helperText?: string; /** Tooltip text shown in an info icon beside the label. */
160
+ tooltip?: string;
161
+ };
162
+ /** Props for {@link SwitchField} — a boolean toggle rendered as a labelled switch. */
163
+ type SwitchFieldProps = {
164
+ /** Field label displayed beside the switch. */label: string; /** Secondary text rendered below the label. */
165
+ description?: string; /** Helper note rendered below the switch. */
166
+ helperText?: string;
167
+ };
168
+ /** Props for {@link DateField} — a calendar date picker with quick-select presets. */
169
+ type DateFieldProps = {
170
+ /** Field label displayed above or beside the picker. */label: string; /** Secondary text rendered below the label. */
171
+ description?: string; /** Placeholder shown in the trigger button when no date is selected. */
172
+ placeholder?: string; /** Controls whether the label stacks above or sits beside the picker. Defaults to `'responsive'`. */
173
+ orientation?: FieldOrientation; /** Tooltip text shown in an info icon beside the label. */
174
+ tooltip?: string; /** Helper note rendered below the picker. */
175
+ helperText?: string; /** When `false`, suppresses inline validation error messages. Defaults to `true`. */
176
+ showErrorMessage?: boolean; /** Marks the field as required; highlights the label when the value is `null`. */
177
+ required?: boolean; /** When `true`, disables the date picker. Also disabled automatically while the form is submitting. */
178
+ disabled?: boolean; /** Earliest selectable date; days before this are hidden in the calendar. */
179
+ minDate?: Date; /** Latest selectable date; days after this are hidden in the calendar. */
180
+ maxDate?: Date;
181
+ };
182
+ /**
183
+ * Discriminated union of props for every field type, keyed by `fieldType`.
184
+ * Use this when rendering fields dynamically from a config array.
185
+ *
186
+ * @example
187
+ * function renderField(field: AnyFieldProps) {
188
+ * switch (field.fieldType) {
189
+ * case 'text': return <TextField {...field} />;
190
+ * case 'select': return <SelectField {...field} />;
191
+ * // …
192
+ * }
193
+ * }
194
+ */
195
+ type AnyFieldProps = ({
196
+ fieldType: 'text';
197
+ } & TextFieldProps) | ({
198
+ fieldType: 'textarea';
199
+ } & TextareaFieldProps) | ({
200
+ fieldType: 'text-editor';
201
+ } & TextEditorFieldProps) | ({
202
+ fieldType: 'email';
203
+ } & EmailFieldProps) | ({
204
+ fieldType: 'number';
205
+ } & NumberFieldProps) | ({
206
+ fieldType: 'password';
207
+ } & PasswordFieldProps) | ({
208
+ fieldType: 'select';
209
+ } & SelectFieldProps) | ({
210
+ fieldType: 'combobox';
211
+ } & ComboboxFieldProps) | ({
212
+ fieldType: 'radio-group';
213
+ } & RadioGroupFieldProps) | ({
214
+ fieldType: 'checkbox';
215
+ } & CheckboxFieldProps) | ({
216
+ fieldType: 'switch';
217
+ } & SwitchFieldProps) | ({
218
+ fieldType: 'date';
219
+ } & DateFieldProps);
220
+ /** The `fieldType` discriminant extracted from {@link AnyFieldProps}. */
221
+ type FieldType = AnyFieldProps['fieldType'];
222
+ //#endregion
223
+ //#region node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.d.ts
224
+ type TStandardSchemaValidatorValue<TData, TSource extends ValidationSource = ValidationSource> = {
225
+ value: TData;
226
+ validationSource: TSource;
227
+ };
228
+ /**
229
+ * The Standard Schema interface.
230
+ */
231
+ type StandardSchemaV1<Input = unknown, Output = Input> = {
232
+ /**
233
+ * The Standard Schema properties.
234
+ */
235
+ readonly '~standard': StandardSchemaV1Props<Input, Output>;
236
+ };
237
+ /**
238
+ * The Standard Schema properties interface.
239
+ */
240
+ interface StandardSchemaV1Props<Input = unknown, Output = Input> {
241
+ /**
242
+ * The version number of the standard.
243
+ */
244
+ readonly version: 1;
245
+ /**
246
+ * The vendor name of the schema library.
247
+ */
248
+ readonly vendor: string;
249
+ /**
250
+ * Validates unknown input values.
251
+ */
252
+ readonly validate: (value: unknown) => StandardSchemaV1Result<Output> | Promise<StandardSchemaV1Result<Output>>;
253
+ /**
254
+ * Inferred types associated with the schema.
255
+ */
256
+ readonly types?: StandardSchemaV1Types<Input, Output> | undefined;
257
+ }
258
+ /**
259
+ * The result interface of the validate function.
260
+ */
261
+ type StandardSchemaV1Result<Output> = StandardSchemaV1SuccessResult<Output> | StandardSchemaV1FailureResult;
262
+ /**
263
+ * The result interface if validation succeeds.
264
+ */
265
+ interface StandardSchemaV1SuccessResult<Output> {
266
+ /**
267
+ * The typed output value.
268
+ */
269
+ readonly value: Output;
270
+ /**
271
+ * The non-existent issues.
272
+ */
273
+ readonly issues?: undefined;
274
+ }
275
+ /**
276
+ * The result interface if validation fails.
277
+ */
278
+ interface StandardSchemaV1FailureResult {
279
+ /**
280
+ * The issues of failed validation.
281
+ */
282
+ readonly issues: ReadonlyArray<StandardSchemaV1Issue>;
283
+ }
284
+ /**
285
+ * The issue interface of the failure output.
286
+ */
287
+ interface StandardSchemaV1Issue {
288
+ /**
289
+ * The error message of the issue.
290
+ */
291
+ readonly message: string;
292
+ /**
293
+ * The path of the issue, if any.
294
+ */
295
+ readonly path?: ReadonlyArray<PropertyKey | StandardSchemaV1PathSegment> | undefined;
296
+ }
297
+ /**
298
+ * The path segment interface of the issue.
299
+ */
300
+ interface StandardSchemaV1PathSegment {
301
+ /**
302
+ * The key representing a path segment.
303
+ */
304
+ readonly key: PropertyKey;
305
+ }
306
+ /**
307
+ * The Standard Schema types interface.
308
+ */
309
+ interface StandardSchemaV1Types<Input = unknown, Output = Input> {
310
+ /**
311
+ * The input type of the schema.
312
+ */
313
+ readonly input: Input;
314
+ /**
315
+ * The output type of the schema.
316
+ */
317
+ readonly output: Output;
318
+ }
319
+ //#endregion
320
+ //#region node_modules/@tanstack/store/dist/types.d.ts
321
+ type Observer<T> = {
322
+ next?: (value: T) => void;
323
+ error?: (err: unknown) => void;
324
+ complete?: () => void;
325
+ };
326
+ interface Subscription {
327
+ unsubscribe: () => void;
328
+ }
329
+ //#endregion
330
+ //#region node_modules/@tanstack/store/dist/store.d.ts
331
+ //#region src/store.d.ts
332
+ type StoreAction = (...args: Array<any>) => any;
333
+ type StoreActionMap = Record<string, StoreAction>;
334
+ type StoreActionsFactory<T, TActions extends StoreActionMap> = (store: {
335
+ setState: Store<T>['setState'];
336
+ get: Store<T>['get'];
337
+ }) => TActions;
338
+ type NonFunction<T> = T extends ((...args: Array<any>) => any) ? never : T;
339
+ declare class Store<T, TActions extends StoreActionMap = never> {
340
+ private atom;
341
+ readonly actions: TActions;
342
+ constructor(getValue: (prev?: NoInfer<T>) => T);
343
+ constructor(initialValue: T);
344
+ constructor(initialValue: NonFunction<T>, actionsFactory: StoreActionsFactory<T, TActions>);
345
+ setState(updater: (prev: T) => T): void;
346
+ get state(): T;
347
+ get(): T;
348
+ subscribe(observerOrFn: Observer<T> | ((value: T) => void)): Subscription;
349
+ }
350
+ declare class ReadonlyStore<T> implements Omit<Store<T>, 'setState' | 'actions'> {
351
+ private atom;
352
+ constructor(getValue: (prev?: NoInfer<T>) => T);
353
+ constructor(initialValue: T);
354
+ get state(): T;
355
+ get(): T;
356
+ subscribe(observerOrFn: Observer<T> | ((value: T) => void)): Subscription;
357
+ }
358
+ //#endregion
359
+ //#region node_modules/@tanstack/form-core/dist/esm/util-types.d.ts
360
+ /**
361
+ * @private
362
+ */
363
+ type UnwrapOneLevelOfArray<T> = T extends (infer U)[] ? U : T;
364
+ /**
365
+ * @private
366
+ * Helper type that rejects synchronous validators that return Promises.
367
+ * If the validator is a function returning a Promise, the type becomes `never`.
368
+ * Uses infer to extract the return type and handles `any` specially to avoid
369
+ * rejecting mock functions and other uses of `any`.
370
+ */
371
+ type RejectPromiseValidator<T> = T extends ((...args: any[]) => infer R) ? 0 extends 1 & R ? T : [R] extends [Promise<any> | PromiseLike<any>] ? never : T : T;
372
+ interface AnyDeepKeyAndValue<K extends string = string, V extends any = any> {
373
+ key: K;
374
+ value: V;
375
+ }
376
+ type ArrayAccessor<TParent extends AnyDeepKeyAndValue> = `${TParent['key'] extends never ? '' : TParent['key']}[${number}]`;
377
+ interface ArrayDeepKeyAndValue<in out TParent extends AnyDeepKeyAndValue, in out T extends ReadonlyArray<any>> extends AnyDeepKeyAndValue {
378
+ key: ArrayAccessor<TParent>;
379
+ value: T[number] | Nullable<TParent['value']>;
380
+ }
381
+ type DeepKeyAndValueArray<TParent extends AnyDeepKeyAndValue, T extends ReadonlyArray<any>, TAcc> = DeepKeysAndValuesImpl<NonNullable<T[number]>, ArrayDeepKeyAndValue<TParent, T>, TAcc | ArrayDeepKeyAndValue<TParent, T>>;
382
+ type TupleAccessor<TParent extends AnyDeepKeyAndValue, TKey extends string> = `${TParent['key'] extends never ? '' : TParent['key']}[${TKey}]`;
383
+ interface TupleDeepKeyAndValue<in out TParent extends AnyDeepKeyAndValue, in out T, in out TKey extends AllTupleKeys<T>> extends AnyDeepKeyAndValue {
384
+ key: TupleAccessor<TParent, TKey>;
385
+ value: T[TKey] | Nullable<TParent['value']>;
386
+ }
387
+ type AllTupleKeys<T> = T extends any ? keyof T & `${number}` : never;
388
+ type DeepKeyAndValueTuple<TParent extends AnyDeepKeyAndValue, T extends ReadonlyArray<any>, TAcc, TAllKeys extends AllTupleKeys<T> = AllTupleKeys<T>> = TAllKeys extends any ? DeepKeysAndValuesImpl<NonNullable<T[TAllKeys]>, TupleDeepKeyAndValue<TParent, T, TAllKeys>, TAcc | TupleDeepKeyAndValue<TParent, T, TAllKeys>> : never;
389
+ type AllObjectKeys<T> = T extends any ? keyof T & (string | number) : never;
390
+ type ObjectAccessor<TParent extends AnyDeepKeyAndValue, TKey extends string | number> = TParent['key'] extends never ? `${TKey}` : `${TParent['key']}.${TKey}`;
391
+ type Nullable<T> = T & (undefined | null);
392
+ type ObjectValue<TParent extends AnyDeepKeyAndValue, T, TKey extends AllObjectKeys<T>> = T[TKey] | Nullable<TParent['value']>;
393
+ interface ObjectDeepKeyAndValue<in out TParent extends AnyDeepKeyAndValue, in out T, in out TKey extends AllObjectKeys<T>> extends AnyDeepKeyAndValue {
394
+ key: ObjectAccessor<TParent, TKey>;
395
+ value: ObjectValue<TParent, T, TKey>;
396
+ }
397
+ type DeepKeyAndValueObject<TParent extends AnyDeepKeyAndValue, T, TAcc, TAllKeys extends AllObjectKeys<T> = AllObjectKeys<T>> = TAllKeys extends any ? DeepKeysAndValuesImpl<NonNullable<T[TAllKeys]>, ObjectDeepKeyAndValue<TParent, T, TAllKeys>, TAcc | ObjectDeepKeyAndValue<TParent, T, TAllKeys>> : never;
398
+ type UnknownAccessor<TParent extends AnyDeepKeyAndValue> = TParent['key'] extends never ? string : `${TParent['key']}.${string}`;
399
+ interface UnknownDeepKeyAndValue<TParent extends AnyDeepKeyAndValue> extends AnyDeepKeyAndValue {
400
+ key: UnknownAccessor<TParent>;
401
+ value: unknown;
402
+ }
403
+ type DeepKeysAndValues<T> = DeepKeysAndValuesImpl<T> extends AnyDeepKeyAndValue ? DeepKeysAndValuesImpl<T> : never;
404
+ type DeepKeysAndValuesImpl<T, TParent extends AnyDeepKeyAndValue = never, TAcc = never> = unknown extends T ? TAcc | UnknownDeepKeyAndValue<TParent> : unknown extends T ? T : T extends string | number | boolean | bigint | Date ? TAcc : T extends ReadonlyArray<any> ? number extends T['length'] ? DeepKeyAndValueArray<TParent, T, TAcc> : DeepKeyAndValueTuple<TParent, T, TAcc> : keyof T extends never ? TAcc | UnknownDeepKeyAndValue<TParent> : T extends object ? DeepKeyAndValueObject<TParent, T, TAcc> : TAcc;
405
+ type DeepRecord<T> = { [TRecord in DeepKeysAndValues<T> as TRecord['key']]: TRecord['value'] };
406
+ /**
407
+ * The keys of an object or array, deeply nested.
408
+ */
409
+ type DeepKeys<T> = unknown extends T ? string : DeepKeysAndValues<T>['key'];
410
+ /**
411
+ * Infer the type of a deeply nested property within an object or an array.
412
+ */
413
+ type DeepValue<TValue, TAccessor> = unknown extends TValue ? TValue : TAccessor extends DeepKeys<TValue> ? DeepRecord<TValue>[TAccessor] : never;
414
+ /**
415
+ * The keys of an object or array, deeply nested and only with a value of TValue
416
+ */
417
+ type DeepKeysOfType<TData, TValue> = Extract<DeepKeysAndValues<TData>, AnyDeepKeyAndValue<string, TValue>>['key'];
418
+ /**
419
+ * Maps the deep keys of TFormData to the shallow keys of TFieldGroupData.
420
+ * Since using template strings as keys is impractical, it relies on shallow keys only.
421
+ */
422
+ type FieldsMap<TFormData, TFieldGroupData> = TFieldGroupData extends any[] ? never : string extends keyof TFieldGroupData ? never : { [K in keyof TFieldGroupData]: DeepKeysOfType<TFormData, TFieldGroupData[K]> };
423
+ //#endregion
424
+ //#region node_modules/@tanstack/form-core/dist/esm/utils.d.ts
425
+ type UpdaterFn<TInput, TOutput = TInput> = (input: TInput) => TOutput;
426
+ type Updater<TInput, TOutput = TInput> = TOutput | UpdaterFn<TInput, TOutput>;
427
+ //#endregion
428
+ //#region node_modules/@tanstack/form-core/dist/esm/FieldApi.d.ts
429
+ /**
430
+ * @private
431
+ */
432
+ type FieldValidateFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: {
433
+ value: TData;
434
+ fieldApi: FieldApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
435
+ }) => unknown;
436
+ /**
437
+ * @private
438
+ */
439
+ type FieldValidateAsyncFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (options: {
440
+ value: TData;
441
+ fieldApi: FieldApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
442
+ signal: AbortSignal;
443
+ }) => unknown | Promise<unknown>;
444
+ /**
445
+ * @private
446
+ */
447
+ type FieldListenerFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: {
448
+ value: TData;
449
+ fieldApi: FieldApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
450
+ }) => void;
451
+ /**
452
+ * @private
453
+ */
454
+ type FieldValidateOrFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FieldValidateFn<TParentData, TName, TData> | StandardSchemaV1<TData, unknown>;
455
+ /**
456
+ * @private
457
+ */
458
+ type FieldAsyncValidateOrFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FieldValidateAsyncFn<TParentData, TName, TData> | StandardSchemaV1<TData, unknown>;
459
+ interface FieldValidators<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>> {
460
+ /**
461
+ * An optional function, that runs on the mount event of input.
462
+ */
463
+ onMount?: RejectPromiseValidator<TOnMount>;
464
+ /**
465
+ * An optional function, that runs on the change event of input.
466
+ *
467
+ * @example z.string().min(1)
468
+ */
469
+ onChange?: RejectPromiseValidator<TOnChange>;
470
+ /**
471
+ * An optional property similar to `onChange` but async validation
472
+ *
473
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
474
+ */
475
+ onChangeAsync?: TOnChangeAsync;
476
+ /**
477
+ * An optional number to represent how long the `onChangeAsync` should wait before running
478
+ *
479
+ * If set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds
480
+ */
481
+ onChangeAsyncDebounceMs?: number;
482
+ /**
483
+ * An optional list of field names that should trigger this field's `onChange` and `onChangeAsync` events when its value changes
484
+ */
485
+ onChangeListenTo?: DeepKeys<TParentData>[];
486
+ /**
487
+ * An optional function, that runs on the blur event of input.
488
+ *
489
+ * @example z.string().min(1)
490
+ */
491
+ onBlur?: RejectPromiseValidator<TOnBlur>;
492
+ /**
493
+ * An optional property similar to `onBlur` but async validation.
494
+ *
495
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
496
+ */
497
+ onBlurAsync?: TOnBlurAsync;
498
+ /**
499
+ * An optional number to represent how long the `onBlurAsync` should wait before running
500
+ *
501
+ * If set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds
502
+ */
503
+ onBlurAsyncDebounceMs?: number;
504
+ /**
505
+ * An optional list of field names that should trigger this field's `onBlur` and `onBlurAsync` events when its value changes
506
+ */
507
+ onBlurListenTo?: DeepKeys<TParentData>[];
508
+ /**
509
+ * An optional function, that runs on the submit event of form.
510
+ *
511
+ * @example z.string().min(1)
512
+ */
513
+ onSubmit?: RejectPromiseValidator<TOnSubmit>;
514
+ /**
515
+ * An optional property similar to `onSubmit` but async validation.
516
+ *
517
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
518
+ */
519
+ onSubmitAsync?: TOnSubmitAsync;
520
+ onDynamic?: RejectPromiseValidator<TOnDynamic>;
521
+ onDynamicAsync?: TOnDynamicAsync;
522
+ onDynamicAsyncDebounceMs?: number;
523
+ }
524
+ interface FieldListeners<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> {
525
+ onChange?: FieldListenerFn<TParentData, TName, TData>;
526
+ onChangeDebounceMs?: number;
527
+ onBlur?: FieldListenerFn<TParentData, TName, TData>;
528
+ onBlurDebounceMs?: number;
529
+ onMount?: FieldListenerFn<TParentData, TName, TData>;
530
+ onUnmount?: FieldListenerFn<TParentData, TName, TData>;
531
+ onSubmit?: FieldListenerFn<TParentData, TName, TData>;
532
+ onGroupSubmit?: FieldListenerFn<TParentData, TName, TData>;
533
+ }
534
+ interface FieldExtraOptions<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>> {
535
+ /**
536
+ * A list of validators to pass to the field
537
+ */
538
+ validators?: FieldValidators<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>;
539
+ /**
540
+ * A list of listeners which attach to the corresponding events
541
+ */
542
+ listeners?: FieldListeners<TParentData, TName, TData>;
543
+ }
544
+ /**
545
+ * An object type representing the options for a field in a form.
546
+ */
547
+ interface FieldApiOptions<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> extends FieldLikeApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>, FieldExtraOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync> {}
548
+ /**
549
+ * @public
550
+ *
551
+ * A type representing the Field API with all generics set to `any` for convenience.
552
+ */
553
+ type AnyFieldApi = FieldApi<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
554
+ /**
555
+ * We cannot use methods and must use arrow functions. Otherwise, our React adapters
556
+ * will break due to loss of the method when using spread.
557
+ */
558
+ /**
559
+ * A class representing the API for managing a form field.
560
+ *
561
+ * Normally, you will not need to create a new `FieldApi` instance directly.
562
+ * Instead, you will use a framework hook/function like `useField` or `createField`
563
+ * to create a new instance for you that uses your framework's reactivity model.
564
+ * However, if you need to create a new instance manually, you can do so by calling
565
+ * the `new FieldApi` constructor.
566
+ */
567
+ declare class FieldApi<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> implements FieldLikeAPI<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta, FieldExtraOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>> {
568
+ /**
569
+ * A reference to the form API instance.
570
+ */
571
+ form: FieldApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>['form'];
572
+ /**
573
+ * The field name.
574
+ */
575
+ name: TName;
576
+ /**
577
+ * The field options.
578
+ */
579
+ options: FieldApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
580
+ /**
581
+ * The field state store.
582
+ */
583
+ store: ReadonlyStore<FieldLikeState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>>;
584
+ /**
585
+ * The current field state.
586
+ */
587
+ get state(): FieldLikeState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
588
+ timeoutIds: {
589
+ validations: Record<ValidationCause, ReturnType<typeof setTimeout> | null>;
590
+ listeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
591
+ formListeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
592
+ };
593
+ /**
594
+ * Initializes a new `FieldApi` instance.
595
+ */
596
+ constructor(opts: FieldApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>);
597
+ /**
598
+ * @private
599
+ */
600
+ runValidator<TValue extends TStandardSchemaValidatorValue<TData> & {
601
+ fieldApi: AnyFieldApi;
602
+ }, TType extends 'validate' | 'validateAsync'>(props: {
603
+ validate: TType extends 'validate' ? FieldValidateOrFn<any, any, any> : FieldAsyncValidateOrFn<any, any, any>;
604
+ value: TValue;
605
+ type: TType;
606
+ }): unknown;
607
+ /**
608
+ * Mounts the field instance to the form.
609
+ * @returns A function to unmount the field instance.
610
+ */
611
+ mount: () => () => void;
612
+ /**
613
+ * Updates the field instance with new options.
614
+ */
615
+ update: (opts: FieldApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>) => void;
616
+ /**
617
+ * Gets the current field value.
618
+ * @deprecated Use `field.state.value` instead.
619
+ */
620
+ getValue: () => TData;
621
+ /**
622
+ * Sets the field value and run the `change` validator.
623
+ */
624
+ setValue: (updater: Updater<TData>, options?: UpdateMetaOptions) => void;
625
+ getMeta: () => FieldLikeMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
626
+ /**
627
+ * Sets the field metadata.
628
+ */
629
+ setMeta: (updater: Updater<FieldLikeMetaBase<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>>) => void;
630
+ /**
631
+ * Gets the field information object.
632
+ */
633
+ getInfo: () => FieldInfo<TParentData>;
634
+ /**
635
+ * Pushes a new value to the field.
636
+ */
637
+ pushValue: (value: TData extends any[] ? TData[number] : never, options?: UpdateMetaOptions) => void;
638
+ /**
639
+ * Inserts a value at the specified index, shifting the subsequent values to the right.
640
+ */
641
+ insertValue: (index: number, value: TData extends any[] ? TData[number] : never, options?: UpdateMetaOptions) => void;
642
+ /**
643
+ * Replaces a value at the specified index.
644
+ */
645
+ replaceValue: (index: number, value: TData extends any[] ? TData[number] : never, options?: UpdateMetaOptions) => void;
646
+ /**
647
+ * Removes a value at the specified index.
648
+ */
649
+ removeValue: (index: number, options?: UpdateMetaOptions) => void;
650
+ /**
651
+ * Swaps the values at the specified indices.
652
+ */
653
+ swapValues: (aIndex: number, bIndex: number, options?: UpdateMetaOptions) => void;
654
+ /**
655
+ * Moves the value at the first specified index to the second specified index.
656
+ */
657
+ moveValue: (aIndex: number, bIndex: number, options?: UpdateMetaOptions) => void;
658
+ /**
659
+ * Clear all values from the array.
660
+ */
661
+ clearValues: (options?: UpdateMetaOptions) => void;
662
+ /**
663
+ * @private
664
+ */
665
+ getLinkedFields: (cause: ValidationCause) => AnyFieldApi[];
666
+ /**
667
+ * @private
668
+ */
669
+ validateSync: (cause: ValidationCause, errorFromForm: ValidationErrorMap) => {
670
+ hasErrored: boolean;
671
+ };
672
+ /**
673
+ * @private
674
+ */
675
+ validateAsync: (cause: ValidationCause, formValidationResultPromise: Promise<FieldErrorMapFromValidator<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync>>) => Promise<unknown[]>;
676
+ /**
677
+ * Validates the field value.
678
+ */
679
+ validate: (cause: ValidationCause, opts?: {
680
+ skipFormValidation?: boolean;
681
+ skipGroupValidation?: boolean;
682
+ }) => ValidationError[] | Promise<ValidationError[]>;
683
+ /**
684
+ * Handles the change event.
685
+ */
686
+ handleChange: (updater: Updater<TData>) => void;
687
+ /**
688
+ * Handles the blur event.
689
+ */
690
+ handleBlur: () => void;
691
+ /**
692
+ * Updates the field's errorMap
693
+ */
694
+ setErrorMap: (errorMap: ValidationErrorMap<UnwrapFieldValidateOrFn<TName, TOnMount, TFormOnMount>, UnwrapFieldValidateOrFn<TName, TOnChange, TFormOnChange>, UnwrapFieldAsyncValidateOrFn<TName, TOnChangeAsync, TFormOnChangeAsync>, UnwrapFieldValidateOrFn<TName, TOnBlur, TFormOnBlur>, UnwrapFieldAsyncValidateOrFn<TName, TOnBlurAsync, TFormOnBlurAsync>, UnwrapFieldValidateOrFn<TName, TOnSubmit, TFormOnSubmit>, UnwrapFieldAsyncValidateOrFn<TName, TOnSubmitAsync, TFormOnSubmitAsync>, UnwrapFieldValidateOrFn<TName, TOnDynamic, TFormOnDynamic>, UnwrapFieldAsyncValidateOrFn<TName, TOnDynamicAsync, TFormOnDynamicAsync>>) => void;
695
+ /**
696
+ * Parses the field's value with the given schema and returns
697
+ * issues (if any). This method does NOT set any internal errors.
698
+ * @param schema The standard schema to parse this field's value with.
699
+ */
700
+ parseValueWithSchema: (schema: StandardSchemaV1<TData, unknown>) => StandardSchemaV1Issue[] | undefined;
701
+ /**
702
+ * Parses the field's value with the given schema and returns
703
+ * issues (if any). This method does NOT set any internal errors.
704
+ * @param schema The standard schema to parse this field's value with.
705
+ */
706
+ parseValueWithSchemaAsync: (schema: StandardSchemaV1<TData, unknown>) => Promise<StandardSchemaV1Issue[] | undefined>;
707
+ private triggerOnBlurListener;
708
+ /**
709
+ * @private
710
+ */
711
+ triggerOnChangeListener: () => void;
712
+ /**
713
+ * @private
714
+ */
715
+ triggerOnSubmitListener: () => void;
716
+ }
717
+ //#endregion
718
+ //#region node_modules/@tanstack/form-core/dist/esm/ValidationLogic.d.ts
719
+ interface ValidationLogicValidatorsFn {
720
+ fn: FormValidators<any, any, any, any, any, any, any, any, any, any>[keyof FormValidators<any, any, any, any, any, any, any, any, any, any>];
721
+ cause: 'change' | 'blur' | 'submit' | 'mount' | 'server' | 'dynamic';
722
+ }
723
+ interface ValidationLogicProps {
724
+ form: AnyFormApi;
725
+ /**
726
+ * Set when the validators being processed belong to a `FormGroupApi`.
727
+ * Allows validation strategies (e.g. `revalidateLogic`) to gate their
728
+ * behavior on the group's own state instead of the parent form's.
729
+ */
730
+ group?: AnyFormGroupApi;
731
+ validators: FormValidators<any, any, any, any, any, any, any, any, any, any> | undefined | null;
732
+ event: {
733
+ type: 'blur' | 'change' | 'submit' | 'mount' | 'server';
734
+ fieldName?: string;
735
+ async: boolean;
736
+ };
737
+ runValidation: (props: {
738
+ validators: Array<ValidationLogicValidatorsFn | undefined>;
739
+ form: AnyFormApi;
740
+ }) => void;
741
+ }
742
+ type ValidationLogicFn = (props: ValidationLogicProps) => void;
743
+ //#endregion
744
+ //#region node_modules/@tanstack/form-core/dist/esm/FormGroupApi.d.ts
745
+ /**
746
+ * @private
747
+ */
748
+ type FormGroupValidateFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: {
749
+ value: TData;
750
+ groupApi: FormGroupApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
751
+ }) => unknown;
752
+ /**
753
+ * @private
754
+ */
755
+ type FormGroupValidateOrFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FormGroupValidateFn<TParentData, TName, TData> | StandardSchemaV1<TData, unknown>;
756
+ /**
757
+ * @private
758
+ */
759
+ type FormGroupValidateAsyncFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (options: {
760
+ value: TData;
761
+ groupApi: FormGroupApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
762
+ signal: AbortSignal;
763
+ }) => unknown | Promise<unknown>;
764
+ /**
765
+ * @private
766
+ */
767
+ type FormGroupAsyncValidateOrFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = FormGroupValidateAsyncFn<TParentData, TName, TData> | StandardSchemaV1<TData, unknown>;
768
+ /**
769
+ * @private
770
+ */
771
+ type FormGroupListenerFn<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> = (props: {
772
+ value: TData;
773
+ groupApi: FormGroupApi<TParentData, TName, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
774
+ }) => void;
775
+ interface FormGroupValidators<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>> {
776
+ /**
777
+ * An optional function, that runs on the mount event of input.
778
+ */
779
+ onMount?: TOnMount;
780
+ /**
781
+ * An optional function, that runs on the change event of input.
782
+ *
783
+ * @example z.string().min(1)
784
+ */
785
+ onChange?: TOnChange;
786
+ /**
787
+ * An optional property similar to `onChange` but async validation
788
+ *
789
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
790
+ */
791
+ onChangeAsync?: TOnChangeAsync;
792
+ /**
793
+ * An optional number to represent how long the `onChangeAsync` should wait before running
794
+ *
795
+ * If set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds
796
+ */
797
+ onChangeAsyncDebounceMs?: number;
798
+ /**
799
+ * An optional list of field names that should trigger this field's `onChange` and `onChangeAsync` events when its value changes
800
+ */
801
+ /**
802
+ * An optional function, that runs on the blur event of input.
803
+ *
804
+ * @example z.string().min(1)
805
+ */
806
+ onBlur?: TOnBlur;
807
+ /**
808
+ * An optional property similar to `onBlur` but async validation.
809
+ *
810
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
811
+ */
812
+ onBlurAsync?: TOnBlurAsync;
813
+ /**
814
+ * An optional number to represent how long the `onBlurAsync` should wait before running
815
+ *
816
+ * If set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds
817
+ */
818
+ onBlurAsyncDebounceMs?: number;
819
+ /**
820
+ * An optional list of field names that should trigger this field's `onBlur` and `onBlurAsync` events when its value changes
821
+ */
822
+ /**
823
+ * An optional function, that runs on the submit event of form.
824
+ *
825
+ * @example z.string().min(1)
826
+ */
827
+ onSubmit?: TOnSubmit;
828
+ /**
829
+ * An optional property similar to `onSubmit` but async validation.
830
+ *
831
+ * @example z.string().refine(async (val) => val.length > 3, { message: 'Testing 123' })
832
+ */
833
+ onSubmitAsync?: TOnSubmitAsync;
834
+ onDynamic?: TOnDynamic;
835
+ onDynamicAsync?: TOnDynamicAsync;
836
+ onDynamicAsyncDebounceMs?: number;
837
+ }
838
+ interface FormGroupListeners<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName> = DeepValue<TParentData, TName>> {
839
+ onChange?: FormGroupListenerFn<TParentData, TName, TData>;
840
+ onChangeDebounceMs?: number;
841
+ onBlur?: FormGroupListenerFn<TParentData, TName, TData>;
842
+ onBlurDebounceMs?: number;
843
+ onMount?: FormGroupListenerFn<TParentData, TName, TData>;
844
+ onUnmount?: FormGroupListenerFn<TParentData, TName, TData>;
845
+ onSubmit?: FormGroupListenerFn<TParentData, TName, TData>;
846
+ onGroupSubmit?: FormGroupListenerFn<TParentData, TName, TData>;
847
+ }
848
+ interface FormGroupExtraOptions<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TSubmitMeta, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> {
849
+ /**
850
+ * A list of validators to pass to the field
851
+ */
852
+ validators?: FormGroupValidators<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>;
853
+ /**
854
+ * If true, allows the form to be submitted in an invalid state i.e. canSubmit will remain true regardless of validation errors. Defaults to undefined.
855
+ */
856
+ canSubmitWhenInvalid?: boolean;
857
+ /**
858
+ * A list of listeners which attach to the corresponding events
859
+ */
860
+ listeners?: FormGroupListeners<TParentData, TName, TData>;
861
+ defaultState?: FormGroupState;
862
+ /**
863
+ * Optional validation logic strategy to use for this group's own
864
+ * validators (e.g. `revalidateLogic()`). When omitted, the parent form's
865
+ * `validationLogic` (or the default) is used.
866
+ */
867
+ validationLogic?: ValidationLogicFn;
868
+ /**
869
+ * onSubmitMeta, the data passed from the handleSubmit handler, to the onSubmit function props
870
+ */
871
+ onSubmitMeta?: TSubmitMeta;
872
+ /**
873
+ * A function to be called when the form is submitted, what should happen once the user submits a valid form returns `any` or a promise `Promise<any>`
874
+ */
875
+ onGroupSubmit?: (props: {
876
+ value: TData;
877
+ groupApi: FormGroupApi<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
878
+ meta: TSubmitMeta;
879
+ }) => any | Promise<any>;
880
+ /**
881
+ * Specify an action for scenarios where the user tries to submit an invalid form.
882
+ */
883
+ onGroupSubmitInvalid?: (props: {
884
+ value: TData;
885
+ groupApi: FormGroupApi<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
886
+ meta: TSubmitMeta;
887
+ }) => void;
888
+ }
889
+ interface FormGroupOptions<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TSubmitMeta, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> extends FieldLikeOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>, FormGroupExtraOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta> {}
890
+ interface FormGroupApiOptions<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TSubmitMeta, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> extends FormGroupOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta> {
891
+ form: FormApi<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
892
+ }
893
+ interface FormGroupState {
894
+ /**
895
+ * A boolean indicating if the form is currently in the process of being submitted after `handleSubmit` is called.
896
+ *
897
+ * Goes back to `false` when submission completes for one of the following reasons:
898
+ * - the validation step returned errors.
899
+ * - the `onSubmit` function has completed.
900
+ *
901
+ * Note: if you're running async operations in your `onSubmit` function make sure to await them to ensure `isSubmitting` is set to `false` only when the async operation completes.
902
+ *
903
+ * This is useful for displaying loading indicators or disabling form inputs during submission.
904
+ *
905
+ */
906
+ isSubmitting: boolean;
907
+ /**
908
+ * A boolean indicating if the `onSubmit` function has completed successfully.
909
+ *
910
+ * Goes back to `false` at each new submission attempt.
911
+ *
912
+ * Note: you can use isSubmitting to check if the form is currently submitting.
913
+ */
914
+ isSubmitted: boolean;
915
+ /**
916
+ * A boolean indicating if the form or any of its fields are currently validating.
917
+ */
918
+ isValidating: boolean;
919
+ /**
920
+ * A counter for tracking the number of submission attempts.
921
+ */
922
+ submissionAttempts: number;
923
+ /**
924
+ * A boolean indicating if the last submission was successful.
925
+ */
926
+ isSubmitSuccessful: boolean;
927
+ }
928
+ /**
929
+ * @public
930
+ *
931
+ * A type representing the FormGroup API with all generics set to `any` for convenience.
932
+ */
933
+ type AnyFormGroupApi = FormGroupApi<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
934
+ /**
935
+ * @public
936
+ *
937
+ * The `meta` shape exposed on `FormGroupApi.state.meta`. Mirrors
938
+ * `FieldApi.state.meta` (since `FormGroupMeta extends FieldLikeMeta`) but
939
+ * additionally surfaces the group's submission lifecycle and aggregated
940
+ * validity flags. All derivation lives on the parent `FormApi` (in
941
+ * `formGroupMetaDerived`), keeping per-instance `FormGroupApi.store` as
942
+ * minimal as `FieldApi.store`.
943
+ *
944
+ * Aggregated booleans (`isTouched`, `isBlurred`, `isDirty`, `isPristine`,
945
+ * `isDefaultValue`) are computed across the group's descendant fields
946
+ * rather than the group's own field-meta entry.
947
+ */
948
+ interface FormGroupMeta<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> extends FieldLikeMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>, FormGroupState {
949
+ isFieldsValidating: boolean;
950
+ isFieldsValid: boolean;
951
+ isGroupValid: boolean;
952
+ isValid: boolean;
953
+ canSubmit: boolean;
954
+ }
955
+ /**
956
+ * @public
957
+ *
958
+ * `FormGroupMeta` with all generics widened to `any`.
959
+ */
960
+ type AnyFormGroupMeta = FormGroupMeta<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
961
+ interface FormGroupStoreState<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> {
962
+ /**
963
+ * The current value of the form group.
964
+ */
965
+ value: TData;
966
+ /**
967
+ * The current metadata of the form group, including aggregated validity,
968
+ * group-level errors, and submission lifecycle.
969
+ */
970
+ meta: FormGroupMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
971
+ }
972
+ declare class FormGroupApi<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TSubmitMeta, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> implements FormLikeAPI<TParentData, TSubmitMeta>, FieldLikeAPI<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta, FormGroupExtraOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>> {
973
+ /**
974
+ * A reference to the form API instance.
975
+ */
976
+ form: FormGroupApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>['form'];
977
+ /**
978
+ * The field name.
979
+ */
980
+ name: TName;
981
+ /**
982
+ * The field options.
983
+ */
984
+ options: FormGroupApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
985
+ /**
986
+ * The field state store.
987
+ */
988
+ store: ReadonlyStore<FormGroupStoreState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>>;
989
+ /**
990
+ * The current field state.
991
+ */
992
+ get state(): FormGroupStoreState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
993
+ /**
994
+ * @private
995
+ *
996
+ * Updates this group's submission lifecycle state on the parent form's
997
+ * `baseStore` (where group state is now persisted), preserving entries
998
+ * for any other mounted groups. After writing, the form's
999
+ * `formGroupMetaDerived` re-derives so this group's `state.meta` picks
1000
+ * up the new lifecycle values automatically.
1001
+ */
1002
+ private setFormGroupState;
1003
+ timeoutIds: {
1004
+ validations: Record<ValidationCause, ReturnType<typeof setTimeout> | null>;
1005
+ listeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
1006
+ formListeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
1007
+ };
1008
+ /**
1009
+ * @private
1010
+ *
1011
+ * Tracks the set of fully-qualified child field names that this group's
1012
+ * validators last set form-source errors on, keyed by `errorMap` key.
1013
+ * Used to clear stale group-level field errors on subsequent runs without
1014
+ * trampling errors set by the parent form's validators.
1015
+ */
1016
+ private _lastDistributedFieldNames;
1017
+ private fieldInfo;
1018
+ constructor(opts: FormGroupApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>);
1019
+ /**
1020
+ * Updates the field instance with new options.
1021
+ */
1022
+ update: (opts: FormGroupApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TSubmitMeta, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>) => void;
1023
+ /**
1024
+ * @private
1025
+ */
1026
+ runValidator<TValue extends TStandardSchemaValidatorValue<TData> & {
1027
+ groupApi: AnyFormGroupApi;
1028
+ }, TType extends 'validate' | 'validateAsync'>(props: {
1029
+ validate: TType extends 'validate' ? FormGroupValidateOrFn<any, any, any> : FormGroupAsyncValidateOrFn<any, any, any>;
1030
+ value: TValue;
1031
+ type: TType;
1032
+ }): unknown;
1033
+ mount: () => () => void;
1034
+ /**
1035
+ * Sets the field value and run the `change` validator.
1036
+ */
1037
+ setValue: (updater: Updater<TData>, options?: UpdateMetaOptions) => void;
1038
+ getMeta: () => FormGroupMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
1039
+ /**
1040
+ * Sets the field metadata.
1041
+ */
1042
+ setMeta: (updater: Updater<FieldLikeMetaBase<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>>) => void;
1043
+ /**
1044
+ * Gets the field information object.
1045
+ */
1046
+ getInfo: () => FieldInfo<TParentData>;
1047
+ /**
1048
+ * @private
1049
+ */
1050
+ getRelatedFields: () => AnyFieldApi[];
1051
+ /**
1052
+ * @private
1053
+ */
1054
+ getRelatedFieldMetasDerived: () => (FieldLikeMetaBase<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any> & FieldLikeMetaDerived<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any> & {
1055
+ name: string;
1056
+ })[];
1057
+ /**
1058
+ * @private
1059
+ *
1060
+ * Builds a fully-qualified field name from a path that is relative to this
1061
+ * group, supporting both dot (`name`, `nested.value`) and bracket
1062
+ * (`[0].name`) notation.
1063
+ */
1064
+ private buildChildFieldName;
1065
+ /**
1066
+ * @private
1067
+ *
1068
+ * Distributes a `{ fields: { ... } }` payload returned by one of this
1069
+ * group's own validators onto the corresponding child fields. Tracks
1070
+ * which fields have been touched so subsequent runs can clear stale
1071
+ * errors without trampling errors set by the parent form's validators.
1072
+ */
1073
+ private distributeFieldErrors;
1074
+ /**
1075
+ * @private
1076
+ */
1077
+ validateSync: (cause: ValidationCause, errorFromForm: ValidationErrorMap, opts?: {
1078
+ skipRelatedFieldValidation?: boolean;
1079
+ }) => {
1080
+ hasErrored: boolean;
1081
+ };
1082
+ /**
1083
+ * @private
1084
+ */
1085
+ validateAsync: (cause: ValidationCause, formValidationResultPromise: Promise<FieldErrorMapFromValidator<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync>>, opts?: {
1086
+ skipRelatedFieldValidation?: boolean;
1087
+ }) => Promise<unknown[]>;
1088
+ /**
1089
+ * Validates all fields according to the FIELD level validators.
1090
+ * This will ignore FORM level validators, use form.validate({ValidationCause}) for a complete validation
1091
+ */
1092
+ validateAllFields: (cause: ValidationCause) => Promise<unknown[]>;
1093
+ validateArrayFieldsStartingFrom: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, index: number, cause: ValidationCause) => Promise<unknown[]>;
1094
+ validateField: <TField extends DeepKeysOfType<TParentData, any>>(field: TField, cause: ValidationCause) => any[] | Promise<any[]>;
1095
+ getFieldValue: <TField extends DeepKeysOfType<TParentData, any>>(field: TField) => DeepValue<TParentData, TField>;
1096
+ getFieldMeta: <TField extends DeepKeysOfType<TParentData, any>>(field: TField) => AnyFieldLikeMeta | undefined;
1097
+ setFieldMeta: <TField extends DeepKeysOfType<TParentData, any>>(field: TField, updater: Updater<AnyFieldLikeMetaBase>) => void;
1098
+ setFieldValue: <TField extends DeepKeysOfType<TParentData, any>>(field: TField, value: any) => void;
1099
+ deleteField: <TField extends DeepKeysOfType<TParentData, any>>(field: TField) => void;
1100
+ pushFieldValue: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, value: any) => void;
1101
+ insertFieldValue: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, index: number, value: any) => Promise<void>;
1102
+ replaceFieldValue: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, index: number, value: any) => Promise<void>;
1103
+ swapFieldValues: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, index1: number, index2: number) => void;
1104
+ moveFieldValues: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, fromIndex: number, toIndex: number) => void;
1105
+ clearFieldValues: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField) => void;
1106
+ resetField: <TField extends DeepKeysOfType<TParentData, any>>(field: TField) => void;
1107
+ removeFieldValue: <TField extends DeepKeysOfType<TParentData, any[]>>(field: TField, index: number) => Promise<void>;
1108
+ areRelatedFieldsValid: () => boolean;
1109
+ /**
1110
+ * Validates the form group and all related children.
1111
+ */
1112
+ validate: (cause: ValidationCause, opts?: {
1113
+ skipFormValidation?: boolean;
1114
+ skipRelatedFieldValidation?: boolean;
1115
+ }) => ValidationError[] | Promise<ValidationError[]>;
1116
+ /**
1117
+ * @private
1118
+ */
1119
+ triggerOnChangeListener: () => void;
1120
+ /**
1121
+ * @private
1122
+ */
1123
+ triggerOnSubmitListener: () => void;
1124
+ handleSubmit(): Promise<void>;
1125
+ handleSubmit(submitMeta: TSubmitMeta): Promise<void>;
1126
+ /**
1127
+ * Handles the form submission, performs validation, and calls the appropriate onSubmit or onSubmitInvalid callbacks.
1128
+ */
1129
+ _handleSubmit: (submitMeta?: TSubmitMeta) => Promise<void>;
1130
+ }
1131
+ //#endregion
1132
+ //#region node_modules/@tanstack/form-core/dist/esm/types.d.ts
1133
+ type ValidationError = unknown;
1134
+ type ValidationSource = 'form' | 'field';
1135
+ /**
1136
+ * "server" is only intended for SSR/SSG validation and should not execute anything
1137
+ * @private
1138
+ */
1139
+ type ValidationCause = 'change' | 'blur' | 'submit' | 'mount' | 'server' | 'dynamic';
1140
+ /**
1141
+ * @private
1142
+ */
1143
+ type ListenerCause = 'change' | 'blur' | 'submit' | 'mount';
1144
+ /**
1145
+ * @private
1146
+ */
1147
+ type ValidationErrorMapKeys = `on${Capitalize<ValidationCause>}`;
1148
+ /**
1149
+ * @private
1150
+ */
1151
+ type ValidationErrorMap<TOnMountReturn = unknown, TOnChangeReturn = unknown, TOnChangeAsyncReturn = unknown, TOnBlurReturn = unknown, TOnBlurAsyncReturn = unknown, TOnSubmitReturn = unknown, TOnSubmitAsyncReturn = unknown, TOnDynamicReturn = unknown, TOnDynamicAsyncReturn = unknown, TOnServerReturn = unknown> = {
1152
+ onMount?: TOnMountReturn;
1153
+ onChange?: TOnChangeReturn | TOnChangeAsyncReturn;
1154
+ onBlur?: TOnBlurReturn | TOnBlurAsyncReturn;
1155
+ onSubmit?: TOnSubmitReturn | TOnSubmitAsyncReturn;
1156
+ onDynamic?: TOnDynamicReturn | TOnDynamicAsyncReturn;
1157
+ onServer?: TOnServerReturn;
1158
+ };
1159
+ /**
1160
+ * @private allows tracking the source of the errors in the error map
1161
+ */
1162
+ type ValidationErrorMapSource = {
1163
+ onMount?: ValidationSource;
1164
+ onChange?: ValidationSource;
1165
+ onBlur?: ValidationSource;
1166
+ onSubmit?: ValidationSource;
1167
+ onServer?: ValidationSource;
1168
+ onDynamic?: ValidationSource;
1169
+ };
1170
+ /**
1171
+ * @private
1172
+ */
1173
+ type FormValidationErrorMap<TFormData = unknown, TOnMountReturn = unknown, TOnChangeReturn = unknown, TOnChangeAsyncReturn = unknown, TOnBlurReturn = unknown, TOnBlurAsyncReturn = unknown, TOnSubmitReturn = unknown, TOnSubmitAsyncReturn = unknown, TOnDynamicReturn = unknown, TOnDynamicAsyncReturn = unknown, TOnServerReturn = unknown> = {
1174
+ onMount?: TOnMountReturn | GlobalFormValidationError<TFormData>;
1175
+ onChange?: TOnChangeReturn | TOnChangeAsyncReturn | GlobalFormValidationError<TFormData>;
1176
+ onBlur?: TOnBlurReturn | TOnBlurAsyncReturn | GlobalFormValidationError<TFormData>;
1177
+ onSubmit?: TOnSubmitReturn | TOnSubmitAsyncReturn | GlobalFormValidationError<TFormData>;
1178
+ onDynamic?: TOnDynamicReturn | TOnDynamicAsyncReturn | GlobalFormValidationError<TFormData>;
1179
+ onServer?: TOnServerReturn;
1180
+ };
1181
+ /**
1182
+ * @private
1183
+ *
1184
+ * @example
1185
+ * ```tsx
1186
+ * {
1187
+ * form: 'This form contains an error',
1188
+ * fields: {
1189
+ * age: "Must be 13 or older to register"
1190
+ * }
1191
+ * }
1192
+ * ````
1193
+ */
1194
+ type GlobalFormValidationError<TFormData> = {
1195
+ form?: ValidationError;
1196
+ fields: Partial<Record<DeepKeys<TFormData>, ValidationError>>;
1197
+ };
1198
+ type ExtractGlobalFormError<TFormError> = TFormError extends GlobalFormValidationError<any> ? TFormError['form'] : TFormError;
1199
+ /**
1200
+ * @private
1201
+ */
1202
+ interface UpdateMetaOptions {
1203
+ /**
1204
+ * @default false
1205
+ */
1206
+ dontUpdateMeta?: boolean;
1207
+ /**
1208
+ * @default false
1209
+ */
1210
+ dontValidate?: boolean;
1211
+ /**
1212
+ * @default false
1213
+ */
1214
+ dontRunListeners?: boolean;
1215
+ }
1216
+ /**
1217
+ * @private
1218
+ */
1219
+ interface FormLikeAPI<TFormData, TSubmitMeta> {
1220
+ /**
1221
+ * Validates all fields using the correct handlers for a given validation cause.
1222
+ */
1223
+ validateAllFields: (cause: ValidationCause) => Promise<unknown[]>;
1224
+ /**
1225
+ * Validates the children of a specified array in the form starting from a given index until the end using the correct handlers for a given validation type.
1226
+ */
1227
+ validateArrayFieldsStartingFrom: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, cause: ValidationCause) => Promise<unknown[]>;
1228
+ /**
1229
+ * Validates a specified field in the form using the correct handlers for a given validation type.
1230
+ */
1231
+ validateField: <TField extends DeepKeys<TFormData>>(field: TField, cause: ValidationCause) => unknown[] | Promise<unknown[]>;
1232
+ /**
1233
+ * Handles the form submission, performs validation, and calls the appropriate onSubmit or onSubmitInvalid callbacks.
1234
+ */
1235
+ handleSubmit(): Promise<void>;
1236
+ handleSubmit(submitMeta: TSubmitMeta): Promise<void>;
1237
+ /**
1238
+ * Gets the value of the specified field.
1239
+ */
1240
+ getFieldValue: <TField extends DeepKeys<TFormData>>(field: TField) => DeepValue<TFormData, TField>;
1241
+ /**
1242
+ * Gets the metadata of the specified field.
1243
+ */
1244
+ getFieldMeta: <TField extends DeepKeys<TFormData>>(field: TField) => AnyFieldLikeMeta | undefined;
1245
+ /**
1246
+ * Updates the metadata of the specified field.
1247
+ */
1248
+ setFieldMeta: <TField extends DeepKeys<TFormData>>(field: TField, updater: Updater<AnyFieldLikeMetaBase>) => void;
1249
+ /**
1250
+ * Sets the value of the specified field and optionally updates the touched state.
1251
+ */
1252
+ setFieldValue: <TField extends DeepKeys<TFormData>>(field: TField, updater: Updater<DeepValue<TFormData, TField>>, opts?: UpdateMetaOptions) => void;
1253
+ /**
1254
+ * Delete the specified field. Also deletes all subfields if there are any.
1255
+ */
1256
+ deleteField: <TField extends DeepKeys<TFormData>>(field: TField) => void;
1257
+ /**
1258
+ * Pushes a value into an array field.
1259
+ */
1260
+ pushFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, opts?: UpdateMetaOptions) => void;
1261
+ /**
1262
+ * Insert a value into an array field at the specified index.
1263
+ */
1264
+ insertFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, opts?: UpdateMetaOptions) => Promise<void>;
1265
+ /**
1266
+ * Replaces a value into an array field at the specified index.
1267
+ */
1268
+ replaceFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, opts?: UpdateMetaOptions) => Promise<void>;
1269
+ /**
1270
+ * Removes a value from an array field at the specified index.
1271
+ */
1272
+ removeFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, opts?: UpdateMetaOptions) => Promise<void>;
1273
+ /**
1274
+ * Swaps the values at the specified indices within an array field.
1275
+ */
1276
+ swapFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index1: number, index2: number, opts?: UpdateMetaOptions) => void;
1277
+ /**
1278
+ * Moves the value at the first specified index to the second specified index within an array field.
1279
+ */
1280
+ moveFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index1: number, index2: number, opts?: UpdateMetaOptions) => void;
1281
+ /**
1282
+ * Clear all values within an array field.
1283
+ */
1284
+ clearFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, opts?: UpdateMetaOptions) => void;
1285
+ /**
1286
+ * Resets the field value and meta to default state
1287
+ */
1288
+ resetField: <TField extends DeepKeys<TFormData>>(field: TField) => void;
1289
+ }
1290
+ type UnwrapFormAsyncValidateOrFnForInner<TValidateOrFn extends undefined | FormAsyncValidateOrFn<any>> = [TValidateOrFn] extends [FormValidateAsyncFn<any>] ? Awaited<ReturnType<TValidateOrFn>> : [TValidateOrFn] extends [StandardSchemaV1<infer TOut, any>] ? StandardBrandedSchemaV1<TOut> : undefined;
1291
+ type UnwrapFieldAsyncValidateOrFn<TName extends string, TValidateOrFn extends undefined | FieldAsyncValidateOrFn<any, any, any> | FormGroupAsyncValidateOrFn<any, any>, TFormValidateOrFn extends undefined | FormAsyncValidateOrFn<any>> = ([TFormValidateOrFn] extends [StandardSchemaV1<any, infer TStandardOut>] ? TName extends keyof TStandardOut ? StandardSchemaV1Issue[] : undefined : undefined) | (UnwrapFormAsyncValidateOrFnForInner<TFormValidateOrFn> extends infer TFormValidateVal ? TFormValidateVal extends {
1292
+ __standardSchemaV1: true;
1293
+ } ? [DeepValue<TFormValidateVal, TName>] extends [never] ? undefined : StandardSchemaV1Issue[] : TFormValidateVal extends {
1294
+ fields: any;
1295
+ } ? TName extends keyof TFormValidateVal['fields'] ? TFormValidateVal['fields'][TName] : undefined : undefined : never) | ([TValidateOrFn] extends [FieldValidateAsyncFn<any, any, any>] ? Awaited<ReturnType<TValidateOrFn>> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? StandardSchemaV1Issue[] : undefined) | ([TValidateOrFn] extends [FormGroupValidateAsyncFn<any, any, any>] ? Awaited<ReturnType<TValidateOrFn>> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? StandardSchemaV1Issue[] : undefined);
1296
+ /**
1297
+ * @private
1298
+ */
1299
+ type FieldErrorMapFromValidator<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>> = Partial<Record<DeepKeys<TParentData>, ValidationErrorMap<TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync>>>;
1300
+ type StandardBrandedSchemaV1<T> = T & {
1301
+ __standardSchemaV1: true;
1302
+ };
1303
+ type UnwrapFormValidateOrFnForInner<TValidateOrFn extends undefined | FormValidateOrFn<any>> = [TValidateOrFn] extends [FormValidateFn<any>] ? ReturnType<TValidateOrFn> : [TValidateOrFn] extends [StandardSchemaV1<infer TOut, any>] ? StandardBrandedSchemaV1<TOut> : undefined;
1304
+ type UnwrapFieldValidateOrFn<TName extends string, TValidateOrFn extends undefined | FieldValidateOrFn<any, any, any> | FormGroupValidateOrFn<any, any, any>, TFormValidateOrFn extends undefined | FormValidateOrFn<any>> = ([TFormValidateOrFn] extends [StandardSchemaV1<any, infer TStandardOut>] ? TName extends keyof TStandardOut ? StandardSchemaV1Issue[] : undefined : undefined) | (UnwrapFormValidateOrFnForInner<TFormValidateOrFn> extends infer TFormValidateVal ? TFormValidateVal extends {
1305
+ __standardSchemaV1: true;
1306
+ } ? [DeepValue<TFormValidateVal, TName>] extends [never] ? undefined : StandardSchemaV1Issue[] : TFormValidateVal extends {
1307
+ fields: any;
1308
+ } ? TName extends keyof TFormValidateVal['fields'] ? TFormValidateVal['fields'][TName] : undefined : undefined : never) | ([TValidateOrFn] extends [FieldValidateFn<any, any, any>] ? ReturnType<TValidateOrFn> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? StandardSchemaV1Issue[] : undefined) | ([TValidateOrFn] extends [FormGroupValidateFn<any, any, any>] ? ReturnType<TValidateOrFn> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? StandardSchemaV1Issue[] : undefined);
1309
+ /**
1310
+ * @private
1311
+ */
1312
+ type FieldLikeMetaBase<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TFormOnMount extends undefined | FormValidateOrFn<TParentData>, TFormOnChange extends undefined | FormValidateOrFn<TParentData>, TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> = {
1313
+ /**
1314
+ * A flag indicating whether the field has been touched.
1315
+ */
1316
+ isTouched: boolean;
1317
+ /**
1318
+ * A flag indicating whether the field has been blurred.
1319
+ */
1320
+ isBlurred: boolean;
1321
+ /**
1322
+ * A flag that is `true` if the field's value has been modified by the user. Opposite of `isPristine`.
1323
+ */
1324
+ isDirty: boolean;
1325
+ /**
1326
+ * A map of errors related to the field value.
1327
+ */
1328
+ errorMap: ValidationErrorMap<UnwrapFieldValidateOrFn<TName, TOnMount, TFormOnMount>, UnwrapFieldValidateOrFn<TName, TOnChange, TFormOnChange>, UnwrapFieldAsyncValidateOrFn<TName, TOnChangeAsync, TFormOnChangeAsync>, UnwrapFieldValidateOrFn<TName, TOnBlur, TFormOnBlur>, UnwrapFieldAsyncValidateOrFn<TName, TOnBlurAsync, TFormOnBlurAsync>, UnwrapFieldValidateOrFn<TName, TOnSubmit, TFormOnSubmit>, UnwrapFieldAsyncValidateOrFn<TName, TOnSubmitAsync, TFormOnSubmitAsync>, UnwrapFieldValidateOrFn<TName, TOnDynamic, TFormOnDynamic>, UnwrapFieldAsyncValidateOrFn<TName, TOnDynamicAsync, TFormOnDynamicAsync>>;
1329
+ /**
1330
+ * @private allows tracking the source of the errors in the error map
1331
+ */
1332
+ errorSourceMap: ValidationErrorMapSource;
1333
+ /**
1334
+ * A flag indicating whether the field is currently being validated.
1335
+ */
1336
+ isValidating: boolean;
1337
+ /**
1338
+ * @private a counter that is incremented every time a structural array
1339
+ * operation (push, insert, remove, swap, move, replace, clear) modifies
1340
+ * the value of an array field. Adapters can subscribe to this to trigger
1341
+ * re-renders for `mode="array"` fields without having to subscribe to the
1342
+ * full field value.
1343
+ */
1344
+ _arrayVersion: number;
1345
+ };
1346
+ /**
1347
+ * @private
1348
+ */
1349
+ type AnyFieldLikeMetaBase = FieldLikeMetaBase<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
1350
+ /**
1351
+ * @private
1352
+ */
1353
+ type FieldLikeMetaDerived<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TFormOnMount extends undefined | FormValidateOrFn<TParentData>, TFormOnChange extends undefined | FormValidateOrFn<TParentData>, TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> = {
1354
+ /**
1355
+ * An array of errors related to the field value.
1356
+ */
1357
+ errors: Array<UnwrapOneLevelOfArray<UnwrapFieldValidateOrFn<TName, TOnMount, TFormOnMount>> | UnwrapOneLevelOfArray<UnwrapFieldValidateOrFn<TName, TOnChange, TFormOnChange>> | UnwrapOneLevelOfArray<UnwrapFieldAsyncValidateOrFn<TName, TOnChangeAsync, TFormOnChangeAsync>> | UnwrapOneLevelOfArray<UnwrapFieldValidateOrFn<TName, TOnBlur, TFormOnBlur>> | UnwrapOneLevelOfArray<UnwrapFieldAsyncValidateOrFn<TName, TOnBlurAsync, TFormOnBlurAsync>> | UnwrapOneLevelOfArray<UnwrapFieldValidateOrFn<TName, TOnSubmit, TFormOnSubmit>> | UnwrapOneLevelOfArray<UnwrapFieldAsyncValidateOrFn<TName, TOnSubmitAsync, TFormOnSubmitAsync>> | UnwrapOneLevelOfArray<UnwrapFieldValidateOrFn<TName, TOnDynamic, TFormOnDynamic>> | UnwrapOneLevelOfArray<UnwrapFieldAsyncValidateOrFn<TName, TOnDynamicAsync, TFormOnDynamicAsync>>>;
1358
+ /**
1359
+ * A flag that is `true` if the field's value has not been modified by the user. Opposite of `isDirty`.
1360
+ */
1361
+ isPristine: boolean;
1362
+ /**
1363
+ * A boolean indicating if the field is valid. Evaluates `true` if there are no field errors.
1364
+ */
1365
+ isValid: boolean;
1366
+ /**
1367
+ * A flag indicating whether the field's current value is the default value
1368
+ */
1369
+ isDefaultValue: boolean;
1370
+ };
1371
+ /**
1372
+ * @private
1373
+ * An object type representing the metadata of a field in a form.
1374
+ */
1375
+ type FieldLikeMeta<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TFormOnMount extends undefined | FormValidateOrFn<TParentData>, TFormOnChange extends undefined | FormValidateOrFn<TParentData>, TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> = FieldLikeMetaBase<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync> & FieldLikeMetaDerived<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
1376
+ /**
1377
+ * @private
1378
+ */
1379
+ type AnyFieldLikeMeta = FieldLikeMeta<any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
1380
+ /**
1381
+ * @private
1382
+ * An object type representing the state of a field.
1383
+ */
1384
+ type FieldLikeState<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, TFormOnMount extends undefined | FormValidateOrFn<TParentData>, TFormOnChange extends undefined | FormValidateOrFn<TParentData>, TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>> = {
1385
+ /**
1386
+ * The current value of the field.
1387
+ */
1388
+ value: TData;
1389
+ /**
1390
+ * The current metadata of the field.
1391
+ */
1392
+ meta: FieldLikeMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>;
1393
+ };
1394
+ /**
1395
+ * @private
1396
+ * An object type representing the options for a field in a form.
1397
+ */
1398
+ interface FieldLikeOptions<TParentData, TName extends DeepKeys<TParentData>, TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>> {
1399
+ /**
1400
+ * The field name. The type will be `DeepKeys<TParentData>` to ensure your name is a deep key of the parent dataset.
1401
+ */
1402
+ name: TName;
1403
+ /**
1404
+ * An optional default value for the field.
1405
+ */
1406
+ defaultValue?: NoInfer<TData>;
1407
+ /**
1408
+ * The default time to debounce async validation if there is not a more specific debounce time passed.
1409
+ */
1410
+ asyncDebounceMs?: number;
1411
+ /**
1412
+ * If `true`, always run async validation, even if there are errors emitted during synchronous validation.
1413
+ */
1414
+ asyncAlways?: boolean;
1415
+ /**
1416
+ * An optional object with default metadata for the field.
1417
+ */
1418
+ defaultMeta?: Partial<FieldLikeMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, any, any, any, any, any, any, any, any, any>>;
1419
+ /**
1420
+ * Disable the `flat(1)` operation on `field.errors`. This is useful if you want to keep the error structure as is. Not suggested for most use-cases.
1421
+ */
1422
+ disableErrorFlat?: boolean;
1423
+ }
1424
+ /**
1425
+ * @private
1426
+ * An object type representing the required options for the FieldApi class.
1427
+ */
1428
+ interface FieldLikeApiOptions<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta> extends FieldLikeOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync> {
1429
+ form: FormApi<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta>;
1430
+ }
1431
+ /**
1432
+ * @private
1433
+ */
1434
+ interface FieldLikeAPI<in out TParentData, in out TName extends DeepKeys<TParentData>, in out TData extends DeepValue<TParentData, TName>, in out TOnMount extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChange extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnChangeAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnBlur extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnBlurAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnSubmit extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnSubmitAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TOnDynamic extends undefined | FieldValidateOrFn<TParentData, TName, TData> | FormGroupValidateOrFn<TParentData, TName, TData>, in out TOnDynamicAsync extends undefined | FieldAsyncValidateOrFn<TParentData, TName, TData> | FormGroupAsyncValidateOrFn<TParentData, TName, TData>, in out TFormOnMount extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChange extends undefined | FormValidateOrFn<TParentData>, in out TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnBlur extends undefined | FormValidateOrFn<TParentData>, in out TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>, in out TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>, in out TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>, in out TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>, in out TParentSubmitMeta, TExtraOptions = {}> {
1435
+ form: AnyFormApi;
1436
+ options: FieldLikeApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TParentSubmitMeta> & TExtraOptions;
1437
+ store: ReadonlyStore<FieldLikeState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync>>;
1438
+ /**
1439
+ * The field name.
1440
+ */
1441
+ name: TName;
1442
+ mount: () => () => void;
1443
+ setValue: (updater: Updater<TData>, options?: UpdateMetaOptions) => void;
1444
+ getMeta: () => AnyFieldLikeMeta;
1445
+ setMeta: (updater: Updater<AnyFieldLikeMetaBase>) => void;
1446
+ getInfo: () => FieldInfo<TParentData>;
1447
+ validate: (cause: ValidationCause, opts?: {
1448
+ skipFormValidation?: boolean;
1449
+ skipGroupValidation?: boolean;
1450
+ }) => ValidationError[] | Promise<ValidationError[]>;
1451
+ /**
1452
+ * @private
1453
+ */
1454
+ triggerOnChangeListener: () => void;
1455
+ /**
1456
+ * @private
1457
+ */
1458
+ triggerOnSubmitListener: () => void;
1459
+ }
1460
+ /**
1461
+ * @private
1462
+ */
1463
+ interface FieldInfo<TParentData> {
1464
+ instance: FieldLikeAPI<TParentData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any> | null;
1465
+ validationMetaMap: Record<ValidationErrorMapKeys, ValidationMeta | undefined>;
1466
+ }
1467
+ //#endregion
1468
+ //#region node_modules/@tanstack/form-core/dist/esm/FormApi.d.ts
1469
+ /**
1470
+ * @private
1471
+ */
1472
+ type FormErrorMapFromValidator<TFormData, TOnMount extends undefined | FormValidateOrFn<TFormData>, TOnChange extends undefined | FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>> = Partial<Record<DeepKeys<TFormData>, ValidationErrorMap<TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>>>;
1473
+ type FormValidateFn<TFormData> = (props: {
1474
+ value: TFormData;
1475
+ formApi: FormApi<TFormData, any, any, any, any, any, any, any, any, any, any, any>;
1476
+ }) => unknown;
1477
+ /**
1478
+ * @private
1479
+ */
1480
+ type FormValidateOrFn<TFormData> = FormValidateFn<TFormData> | StandardSchemaV1<TFormData, unknown>;
1481
+ type UnwrapFormValidateOrFn<TValidateOrFn extends undefined | FormValidateOrFn<any>> = [TValidateOrFn] extends [FormValidateFn<any>] ? ExtractGlobalFormError<ReturnType<TValidateOrFn>> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? Record<string, StandardSchemaV1Issue[]> : undefined;
1482
+ /**
1483
+ * @private
1484
+ */
1485
+ type FormValidateAsyncFn<TFormData> = (props: {
1486
+ value: TFormData;
1487
+ formApi: FormApi<TFormData, any, any, any, any, any, any, any, any, any, any, any>;
1488
+ signal: AbortSignal;
1489
+ }) => unknown | Promise<unknown>;
1490
+ /**
1491
+ * @private
1492
+ */
1493
+ type FormAsyncValidateOrFn<TFormData> = FormValidateAsyncFn<TFormData> | StandardSchemaV1<TFormData, unknown>;
1494
+ type UnwrapFormAsyncValidateOrFn<TValidateOrFn extends undefined | FormAsyncValidateOrFn<any>> = [TValidateOrFn] extends [FormValidateAsyncFn<any>] ? ExtractGlobalFormError<Awaited<ReturnType<TValidateOrFn>>> : [TValidateOrFn] extends [StandardSchemaV1<any, any>] ? Record<string, StandardSchemaV1Issue[]> : undefined;
1495
+ interface FormValidators<TFormData, TOnMount extends undefined | FormValidateOrFn<TFormData>, TOnChange extends undefined | FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>> {
1496
+ /**
1497
+ * Optional function that fires as soon as the component mounts.
1498
+ */
1499
+ onMount?: RejectPromiseValidator<TOnMount>;
1500
+ /**
1501
+ * Optional function that checks the validity of your data whenever a value changes
1502
+ */
1503
+ onChange?: RejectPromiseValidator<TOnChange>;
1504
+ /**
1505
+ * Optional onChange asynchronous counterpart to onChange. Useful for more complex validation logic that might involve server requests.
1506
+ */
1507
+ onChangeAsync?: TOnChangeAsync;
1508
+ /**
1509
+ * The default time in milliseconds that if set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds.
1510
+ */
1511
+ onChangeAsyncDebounceMs?: number;
1512
+ /**
1513
+ * Optional function that validates the form data when a field loses focus, returns a `FormValidationError`
1514
+ */
1515
+ onBlur?: RejectPromiseValidator<TOnBlur>;
1516
+ /**
1517
+ * Optional onBlur asynchronous validation method for when a field loses focus returns a ` FormValidationError` or a promise of `Promise<FormValidationError>`
1518
+ */
1519
+ onBlurAsync?: TOnBlurAsync;
1520
+ /**
1521
+ * The default time in milliseconds that if set to a number larger than 0, will debounce the async validation event by this length of time in milliseconds.
1522
+ */
1523
+ onBlurAsyncDebounceMs?: number;
1524
+ onSubmit?: RejectPromiseValidator<TOnSubmit>;
1525
+ onSubmitAsync?: TOnSubmitAsync;
1526
+ onDynamic?: RejectPromiseValidator<TOnDynamic>;
1527
+ onDynamicAsync?: TOnDynamicAsync;
1528
+ onDynamicAsyncDebounceMs?: number;
1529
+ }
1530
+ interface FormListenersPropsGroup<TFormData, TOnMount extends undefined | FormValidateOrFn<TFormData>, TOnChange extends undefined | FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>, TSubmitMeta = never> {
1531
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1532
+ groupApi: AnyFormGroupApi;
1533
+ }
1534
+ interface FormListenersPropsField<TFormData, TOnMount extends undefined | FormValidateOrFn<TFormData>, TOnChange extends undefined | FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>, TSubmitMeta = never> {
1535
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1536
+ fieldApi: AnyFieldApi;
1537
+ }
1538
+ interface FormListeners<TFormData, TOnMount extends undefined | FormValidateOrFn<TFormData>, TOnChange extends undefined | FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>, TSubmitMeta = never> {
1539
+ onChange?: (props: FormListenersPropsField<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => void;
1540
+ onChangeDebounceMs?: number;
1541
+ onChangeGroup?: (props: FormListenersPropsGroup<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => void;
1542
+ onChangeGroupDebounceMs?: number;
1543
+ onBlur?: (props: {
1544
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1545
+ fieldApi: AnyFieldApi;
1546
+ }) => void;
1547
+ onBlurDebounceMs?: number;
1548
+ onMount?: (props: {
1549
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1550
+ }) => void;
1551
+ onSubmit?: (props: {
1552
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1553
+ meta: TSubmitMeta;
1554
+ }) => void;
1555
+ onFieldUnmount?: (props: FormListenersPropsField<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => void;
1556
+ onGroupUnmount?: (props: FormListenersPropsGroup<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => void;
1557
+ }
1558
+ /**
1559
+ * An object representing the base properties of a form, unrelated to any validators
1560
+ */
1561
+ interface BaseFormOptions<in out TFormData, in out TSubmitMeta = never> {
1562
+ /**
1563
+ * Set initial values for your form.
1564
+ */
1565
+ defaultValues?: TFormData;
1566
+ /**
1567
+ * onSubmitMeta, the data passed from the handleSubmit handler, to the onSubmit function props
1568
+ */
1569
+ onSubmitMeta?: TSubmitMeta;
1570
+ }
1571
+ /**
1572
+ * An object representing the options for a form.
1573
+ */
1574
+ interface FormOptions<in out TFormData, in out TOnMount extends undefined | FormValidateOrFn<TFormData>, in out TOnChange extends undefined | FormValidateOrFn<TFormData>, in out TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnBlur extends undefined | FormValidateOrFn<TFormData>, in out TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnSubmit extends undefined | FormValidateOrFn<TFormData>, in out TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnDynamic extends undefined | FormValidateOrFn<TFormData>, in out TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>, in out TSubmitMeta = never> extends BaseFormOptions<TFormData, TSubmitMeta> {
1575
+ /**
1576
+ * The form name, used for devtools and identification
1577
+ */
1578
+ formId?: string;
1579
+ /**
1580
+ * The default state for the form.
1581
+ */
1582
+ defaultState?: Partial<FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>>;
1583
+ /**
1584
+ * If true, always run async validation, even when sync validation has produced an error. Defaults to undefined.
1585
+ */
1586
+ asyncAlways?: boolean;
1587
+ /**
1588
+ * Optional time in milliseconds if you want to introduce a delay before firing off an async action.
1589
+ */
1590
+ asyncDebounceMs?: number;
1591
+ /**
1592
+ * If true, allows the form to be submitted in an invalid state i.e. canSubmit will remain true regardless of validation errors. Defaults to undefined.
1593
+ */
1594
+ canSubmitWhenInvalid?: boolean;
1595
+ /**
1596
+ * A list of validators to pass to the form
1597
+ */
1598
+ validators?: FormValidators<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>;
1599
+ validationLogic?: ValidationLogicFn;
1600
+ /**
1601
+ * form level listeners
1602
+ */
1603
+ listeners?: FormListeners<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1604
+ /**
1605
+ * A function to be called when the form is submitted, what should happen once the user submits a valid form returns `any` or a promise `Promise<any>`
1606
+ */
1607
+ onSubmit?: (props: {
1608
+ value: TFormData;
1609
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1610
+ meta: TSubmitMeta;
1611
+ }) => any | Promise<any>;
1612
+ /**
1613
+ * Specify an action for scenarios where the user tries to submit an invalid form.
1614
+ */
1615
+ onSubmitInvalid?: (props: {
1616
+ value: TFormData;
1617
+ formApi: FormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1618
+ meta: TSubmitMeta;
1619
+ }) => void;
1620
+ transform?: (data: unknown) => unknown;
1621
+ }
1622
+ /**
1623
+ * An object representing the validation metadata for a field. Not intended for public usage.
1624
+ */
1625
+ type ValidationMeta = {
1626
+ /**
1627
+ * An abort controller stored in memory to cancel previous async validation attempts.
1628
+ */
1629
+ lastAbortController: AbortController;
1630
+ };
1631
+ /**
1632
+ * An object representing the current state of the form.
1633
+ */
1634
+ type BaseFormState<in out TFormData, in out TOnMount extends undefined | FormValidateOrFn<TFormData>, in out TOnChange extends undefined | FormValidateOrFn<TFormData>, in out TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnBlur extends undefined | FormValidateOrFn<TFormData>, in out TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnSubmit extends undefined | FormValidateOrFn<TFormData>, in out TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnDynamic extends undefined | FormValidateOrFn<TFormData>, in out TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>> = {
1635
+ /**
1636
+ * The current values of the form fields.
1637
+ */
1638
+ values: TFormData;
1639
+ /**
1640
+ * The error map for the form itself.
1641
+ */
1642
+ errorMap: ValidationErrorMap<UnwrapFormValidateOrFn<TOnMount>, UnwrapFormValidateOrFn<TOnChange>, UnwrapFormAsyncValidateOrFn<TOnChangeAsync>, UnwrapFormValidateOrFn<TOnBlur>, UnwrapFormAsyncValidateOrFn<TOnBlurAsync>, UnwrapFormValidateOrFn<TOnSubmit>, UnwrapFormAsyncValidateOrFn<TOnSubmitAsync>, UnwrapFormValidateOrFn<TOnDynamic>, UnwrapFormAsyncValidateOrFn<TOnDynamicAsync>, UnwrapFormAsyncValidateOrFn<TOnServer>>;
1643
+ /**
1644
+ * An internal mechanism used for keeping track of validation logic in a form.
1645
+ */
1646
+ validationMetaMap: Record<ValidationErrorMapKeys, ValidationMeta | undefined>;
1647
+ /**
1648
+ * A record of field metadata for each field in the form, not including the derived properties, like `errors` and such
1649
+ */
1650
+ fieldMetaBase: Partial<Record<DeepKeys<TFormData>, AnyFieldLikeMetaBase>>;
1651
+ /**
1652
+ * A record of submission lifecycle state for each mounted `FormGroupApi`,
1653
+ * keyed by the group's fully-qualified field name. Stored on the form so
1654
+ * group-level state can be read from `FormApi` without having to walk the
1655
+ * mounted group instances.
1656
+ */
1657
+ formGroupStateBase: Partial<Record<string, FormGroupState>>;
1658
+ /**
1659
+ * A boolean indicating if the form is currently in the process of being submitted after `handleSubmit` is called.
1660
+ *
1661
+ * Goes back to `false` when submission completes for one of the following reasons:
1662
+ * - the validation step returned errors.
1663
+ * - the `onSubmit` function has completed.
1664
+ *
1665
+ * Note: if you're running async operations in your `onSubmit` function make sure to await them to ensure `isSubmitting` is set to `false` only when the async operation completes.
1666
+ *
1667
+ * This is useful for displaying loading indicators or disabling form inputs during submission.
1668
+ *
1669
+ */
1670
+ isSubmitting: boolean;
1671
+ /**
1672
+ * A boolean indicating if the `onSubmit` function has completed successfully.
1673
+ *
1674
+ * Goes back to `false` at each new submission attempt.
1675
+ *
1676
+ * Note: you can use isSubmitting to check if the form is currently submitting.
1677
+ */
1678
+ isSubmitted: boolean;
1679
+ /**
1680
+ * A boolean indicating if the form or any of its fields are currently validating.
1681
+ */
1682
+ isValidating: boolean;
1683
+ /**
1684
+ * A counter for tracking the number of submission attempts.
1685
+ */
1686
+ submissionAttempts: number;
1687
+ /**
1688
+ * A boolean indicating if the last submission was successful.
1689
+ */
1690
+ isSubmitSuccessful: boolean;
1691
+ /**
1692
+ * @private, used to force a re-evaluation of the form state when options change
1693
+ */
1694
+ _force_re_eval?: boolean;
1695
+ };
1696
+ type DerivedFormState<in out TFormData, in out TOnMount extends undefined | FormValidateOrFn<TFormData>, in out TOnChange extends undefined | FormValidateOrFn<TFormData>, in out TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnBlur extends undefined | FormValidateOrFn<TFormData>, in out TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnSubmit extends undefined | FormValidateOrFn<TFormData>, in out TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnDynamic extends undefined | FormValidateOrFn<TFormData>, in out TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>> = {
1697
+ /**
1698
+ * A boolean indicating if the form is currently validating.
1699
+ */
1700
+ isFormValidating: boolean;
1701
+ /**
1702
+ * A boolean indicating if the form is valid.
1703
+ */
1704
+ isFormValid: boolean;
1705
+ /**
1706
+ * The error array for the form itself.
1707
+ */
1708
+ errors: Array<NonNullable<UnwrapFormValidateOrFn<TOnMount> | UnwrapFormValidateOrFn<TOnChange> | UnwrapFormAsyncValidateOrFn<TOnChangeAsync> | UnwrapFormValidateOrFn<TOnBlur> | UnwrapFormAsyncValidateOrFn<TOnBlurAsync> | UnwrapFormValidateOrFn<TOnSubmit> | UnwrapFormAsyncValidateOrFn<TOnSubmitAsync> | UnwrapFormValidateOrFn<TOnDynamic> | UnwrapFormAsyncValidateOrFn<TOnDynamicAsync> | UnwrapFormAsyncValidateOrFn<TOnServer>>>;
1709
+ /**
1710
+ * A boolean indicating if any of the form fields are currently validating.
1711
+ */
1712
+ isFieldsValidating: boolean;
1713
+ /**
1714
+ * A boolean indicating if all the form fields are valid. Evaluates `true` if there are no field errors.
1715
+ */
1716
+ isFieldsValid: boolean;
1717
+ /**
1718
+ * A boolean indicating if any of the form fields have been touched.
1719
+ */
1720
+ isTouched: boolean;
1721
+ /**
1722
+ * A boolean indicating if any of the form fields have been blurred.
1723
+ */
1724
+ isBlurred: boolean;
1725
+ /**
1726
+ * A boolean indicating if any of the form's fields' values have been modified by the user. Evaluates `true` if the user have modified at least one of the fields. Opposite of `isPristine`.
1727
+ */
1728
+ isDirty: boolean;
1729
+ /**
1730
+ * A boolean indicating if none of the form's fields' values have been modified by the user. Evaluates `true` if the user have not modified any of the fields. Opposite of `isDirty`.
1731
+ */
1732
+ isPristine: boolean;
1733
+ /**
1734
+ * A boolean indicating if all of the form's fields are the same as default values.
1735
+ */
1736
+ isDefaultValue: boolean;
1737
+ /**
1738
+ * A boolean indicating if the form and all its fields are valid. Evaluates `true` if there are no errors.
1739
+ */
1740
+ isValid: boolean;
1741
+ /**
1742
+ * A boolean indicating if the form can be submitted based on its current state.
1743
+ */
1744
+ canSubmit: boolean;
1745
+ /**
1746
+ * A record of field metadata for each field in the form.
1747
+ */
1748
+ fieldMeta: Partial<Record<DeepKeys<TFormData>, AnyFieldLikeMeta>>;
1749
+ };
1750
+ interface FormState<in out TFormData, in out TOnMount extends undefined | FormValidateOrFn<TFormData>, in out TOnChange extends undefined | FormValidateOrFn<TFormData>, in out TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnBlur extends undefined | FormValidateOrFn<TFormData>, in out TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnSubmit extends undefined | FormValidateOrFn<TFormData>, in out TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnDynamic extends undefined | FormValidateOrFn<TFormData>, in out TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>> extends BaseFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>, DerivedFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer> {}
1751
+ /**
1752
+ * @public
1753
+ *
1754
+ * A type representing the Form API with all generics set to `any` for convenience.
1755
+ */
1756
+ type AnyFormApi = FormApi<any, any, any, any, any, any, any, any, any, any, any, any>;
1757
+ interface ValidateOpts<TFormData> {
1758
+ dontUpdateFormErrorMap?: boolean;
1759
+ filterFieldNames?: (fieldName: DeepKeys<TFormData>) => boolean;
1760
+ group?: AnyFormGroupApi;
1761
+ }
1762
+ /**
1763
+ * We cannot use methods and must use arrow functions. Otherwise, our React adapters
1764
+ * will break due to loss of the method when using spread.
1765
+ */
1766
+ /**
1767
+ * A class representing the Form API. It handles the logic and interactions with the form state.
1768
+ *
1769
+ * Normally, you will not need to create a new `FormApi` instance directly. Instead, you will use a framework
1770
+ * hook/function like `useForm` or `createForm` to create a new instance for you that uses your framework's reactivity model.
1771
+ * However, if you need to create a new instance manually, you can do so by calling the `new FormApi` constructor.
1772
+ */
1773
+ declare class FormApi<in out TFormData, in out TOnMount extends undefined | FormValidateOrFn<TFormData>, in out TOnChange extends undefined | FormValidateOrFn<TFormData>, in out TOnChangeAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnBlur extends undefined | FormValidateOrFn<TFormData>, in out TOnBlurAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnSubmit extends undefined | FormValidateOrFn<TFormData>, in out TOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnDynamic extends undefined | FormValidateOrFn<TFormData>, in out TOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TFormData>, in out TOnServer extends undefined | FormAsyncValidateOrFn<TFormData>, in out TSubmitMeta = never> implements FormLikeAPI<TFormData, TSubmitMeta> {
1774
+ /**
1775
+ * The options for the form.
1776
+ */
1777
+ options: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>;
1778
+ baseStore: Store<BaseFormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>>;
1779
+ fieldMetaDerived: Store<FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>['fieldMeta']>;
1780
+ /**
1781
+ * A derived store of every mounted `FormGroupApi`'s `meta`, keyed by
1782
+ * group name. Mirrors `fieldMetaDerived` for fields: per-group `meta`
1783
+ * is computed once on the form (from `baseStore.formGroupStateBase`,
1784
+ * `fieldMetaDerived`, and the registered `formGroupApis`) so reads
1785
+ * from a `FormGroupApi.store` instance stay minimal.
1786
+ */
1787
+ formGroupMetaDerived: ReadonlyStore<Record<string, AnyFormGroupMeta>>;
1788
+ store: ReadonlyStore<FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>>;
1789
+ /**
1790
+ * A record of field information for each field in the form.
1791
+ */
1792
+ fieldInfo: Partial<Record<DeepKeys<TFormData>, FieldInfo<TFormData>>>;
1793
+ /**
1794
+ * The set of currently-mounted `FormGroupApi` instances belonging to
1795
+ * this form. Used by `FieldApi.validate` to cascade field-level changes
1796
+ * into the validators of any group that encompasses the field.
1797
+ */
1798
+ formGroupApis: Set<AnyFormGroupApi>;
1799
+ get state(): FormState<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer>;
1800
+ /**
1801
+ * @private
1802
+ */
1803
+ timeoutIds: {
1804
+ validations: Record<ValidationCause, ReturnType<typeof setTimeout> | null>;
1805
+ listeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
1806
+ formListeners: Record<ListenerCause, ReturnType<typeof setTimeout> | null>;
1807
+ };
1808
+ /**
1809
+ * @private
1810
+ */
1811
+ _formId: string;
1812
+ /**
1813
+ * @private
1814
+ */
1815
+ private _devtoolsSubmissionOverride;
1816
+ /**
1817
+ * Constructs a new `FormApi` instance with the given form options.
1818
+ */
1819
+ constructor(opts?: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>);
1820
+ get formId(): string;
1821
+ /**
1822
+ * @private
1823
+ */
1824
+ runValidator<TValue extends TStandardSchemaValidatorValue<TFormData> & {
1825
+ formApi: AnyFormApi;
1826
+ }, TType extends 'validate' | 'validateAsync'>(props: {
1827
+ validate: TType extends 'validate' ? FormValidateOrFn<TFormData> : FormAsyncValidateOrFn<TFormData>;
1828
+ value: TValue;
1829
+ type: TType;
1830
+ }): unknown;
1831
+ mount: () => () => void;
1832
+ /**
1833
+ * Updates the form options and form state.
1834
+ */
1835
+ update: (options?: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => void;
1836
+ /**
1837
+ * Resets the form state to the default values.
1838
+ * If values are provided, the form will be reset to those values instead and the default values will be updated.
1839
+ *
1840
+ * @param values - Optional values to reset the form to.
1841
+ * @param opts - Optional options to control the reset behavior.
1842
+ */
1843
+ reset: (values?: TFormData, opts?: {
1844
+ keepDefaultValues?: boolean;
1845
+ }) => void;
1846
+ /**
1847
+ * Validates all fields according to the FIELD level validators.
1848
+ * This will ignore FORM level validators, use form.validate({ValidationCause}) for a complete validation
1849
+ */
1850
+ validateAllFields: (cause: ValidationCause) => Promise<unknown[]>;
1851
+ /**
1852
+ * Validates the children of a specified array in the form starting from a given index until the end using the correct handlers for a given validation type.
1853
+ */
1854
+ validateArrayFieldsStartingFrom: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, cause: ValidationCause) => Promise<unknown[]>;
1855
+ /**
1856
+ * Validates a specified field in the form using the correct handlers for a given validation type.
1857
+ */
1858
+ validateField: <TField extends DeepKeys<TFormData>>(field: TField, cause: ValidationCause) => any[] | Promise<any[]>;
1859
+ /**
1860
+ * TODO: This code is copied from FieldApi, we should refactor to share
1861
+ * @private
1862
+ */
1863
+ validateSync: (cause: ValidationCause, validateOpts?: ValidateOpts<TFormData>) => {
1864
+ hasErrored: boolean;
1865
+ fieldsErrorMap: FormErrorMapFromValidator<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>;
1866
+ };
1867
+ /**
1868
+ * @private
1869
+ */
1870
+ validateAsync: (cause: ValidationCause, validateOpts?: ValidateOpts<TFormData>) => Promise<FormErrorMapFromValidator<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>>;
1871
+ /**
1872
+ * @private
1873
+ */
1874
+ validate: (cause: ValidationCause, validateOpts?: ValidateOpts<TFormData>) => FormErrorMapFromValidator<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync> | Promise<FormErrorMapFromValidator<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync>>;
1875
+ handleSubmit(): Promise<void>;
1876
+ handleSubmit(submitMeta: TSubmitMeta): Promise<void>;
1877
+ /**
1878
+ * Handles the form submission, performs validation, and calls the appropriate onSubmit or onSubmitInvalid callbacks.
1879
+ */
1880
+ _handleSubmit: (submitMeta?: TSubmitMeta) => Promise<void>;
1881
+ /**
1882
+ * Gets the value of the specified field.
1883
+ */
1884
+ getFieldValue: <TField extends DeepKeys<TFormData>>(field: TField) => DeepValue<TFormData, TField>;
1885
+ /**
1886
+ * Gets the metadata of the specified field.
1887
+ */
1888
+ getFieldMeta: <TField extends DeepKeys<TFormData>>(field: TField) => AnyFieldLikeMeta | undefined;
1889
+ /**
1890
+ * Gets the derived `meta` of the form group registered at the given
1891
+ * name. Mirrors `getFieldMeta` for fields. Returns `undefined` if no
1892
+ * `FormGroupApi` with that name is currently mounted.
1893
+ */
1894
+ getFormGroupMeta: (name: string) => AnyFormGroupMeta | undefined;
1895
+ /**
1896
+ * Gets the field info of the specified field.
1897
+ */
1898
+ getFieldInfo: <TField extends DeepKeys<TFormData>>(field: TField) => FieldInfo<TFormData>;
1899
+ /**
1900
+ * Updates the metadata of the specified field.
1901
+ */
1902
+ setFieldMeta: <TField extends DeepKeys<TFormData>>(field: TField, updater: Updater<AnyFieldLikeMetaBase>) => void;
1903
+ /**
1904
+ * resets every field's meta
1905
+ */
1906
+ resetFieldMeta: <TField extends DeepKeys<TFormData>>(fieldMeta: Partial<Record<TField, AnyFieldLikeMeta>>) => Partial<Record<TField, AnyFieldLikeMeta>>;
1907
+ /**
1908
+ * Sets the value of the specified field and optionally updates the touched state.
1909
+ */
1910
+ setFieldValue: <TField extends DeepKeys<TFormData>>(field: TField, updater: Updater<DeepValue<TFormData, TField>>, opts?: UpdateMetaOptions) => void;
1911
+ deleteField: <TField extends DeepKeys<TFormData>>(field: TField) => void;
1912
+ /**
1913
+ * Pushes a value into an array field.
1914
+ */
1915
+ pushFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, options?: UpdateMetaOptions) => void;
1916
+ insertFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, options?: UpdateMetaOptions) => Promise<void>;
1917
+ /**
1918
+ * Replaces a value into an array field at the specified index.
1919
+ */
1920
+ replaceFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, value: DeepValue<TFormData, TField> extends any[] ? DeepValue<TFormData, TField>[number] : never, options?: UpdateMetaOptions) => Promise<void>;
1921
+ /**
1922
+ * Removes a value from an array field at the specified index.
1923
+ */
1924
+ removeFieldValue: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index: number, options?: UpdateMetaOptions) => Promise<void>;
1925
+ /**
1926
+ * Swaps the values at the specified indices within an array field.
1927
+ */
1928
+ swapFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index1: number, index2: number, options?: UpdateMetaOptions) => void;
1929
+ /**
1930
+ * Moves the value at the first specified index to the second specified index within an array field.
1931
+ */
1932
+ moveFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, index1: number, index2: number, options?: UpdateMetaOptions) => void;
1933
+ /**
1934
+ * Clear all values within an array field.
1935
+ */
1936
+ clearFieldValues: <TField extends DeepKeysOfType<TFormData, any[]>>(field: TField, options?: UpdateMetaOptions) => void;
1937
+ /**
1938
+ * Resets the field value and meta to default state
1939
+ */
1940
+ resetField: <TField extends DeepKeys<TFormData>>(field: TField) => void;
1941
+ /**
1942
+ * Updates the form's errorMap
1943
+ */
1944
+ setErrorMap: (errorMap: FormValidationErrorMap<TFormData, UnwrapFormValidateOrFn<TOnMount>, UnwrapFormValidateOrFn<TOnChange>, UnwrapFormAsyncValidateOrFn<TOnChangeAsync>, UnwrapFormValidateOrFn<TOnBlur>, UnwrapFormAsyncValidateOrFn<TOnBlurAsync>, UnwrapFormValidateOrFn<TOnSubmit>, UnwrapFormAsyncValidateOrFn<TOnSubmitAsync>, UnwrapFormValidateOrFn<TOnDynamic>, UnwrapFormAsyncValidateOrFn<TOnDynamicAsync>, UnwrapFormAsyncValidateOrFn<TOnServer>>) => void;
1945
+ /**
1946
+ * Returns form and field level errors
1947
+ */
1948
+ getAllErrors: () => {
1949
+ form: {
1950
+ errors: Array<NonNullable<UnwrapFormValidateOrFn<TOnMount> | UnwrapFormValidateOrFn<TOnChange> | UnwrapFormAsyncValidateOrFn<TOnChangeAsync> | UnwrapFormValidateOrFn<TOnBlur> | UnwrapFormAsyncValidateOrFn<TOnBlurAsync> | UnwrapFormValidateOrFn<TOnSubmit> | UnwrapFormAsyncValidateOrFn<TOnSubmitAsync> | UnwrapFormValidateOrFn<TOnDynamic> | UnwrapFormAsyncValidateOrFn<TOnDynamicAsync> | UnwrapFormAsyncValidateOrFn<TOnServer>>>;
1951
+ errorMap: ValidationErrorMap<UnwrapFormValidateOrFn<TOnMount>, UnwrapFormValidateOrFn<TOnChange>, UnwrapFormAsyncValidateOrFn<TOnChangeAsync>, UnwrapFormValidateOrFn<TOnBlur>, UnwrapFormAsyncValidateOrFn<TOnBlurAsync>, UnwrapFormValidateOrFn<TOnSubmit>, UnwrapFormAsyncValidateOrFn<TOnSubmitAsync>, UnwrapFormValidateOrFn<TOnDynamic>, UnwrapFormAsyncValidateOrFn<TOnDynamicAsync>, UnwrapFormAsyncValidateOrFn<TOnServer>>;
1952
+ };
1953
+ fields: Record<DeepKeys<TFormData>, {
1954
+ errors: ValidationError[];
1955
+ errorMap: ValidationErrorMap;
1956
+ }>;
1957
+ };
1958
+ /**
1959
+ * Parses the form's values with a given standard schema and returns
1960
+ * issues (if any). This method does NOT set any internal errors.
1961
+ * @param schema The standard schema to parse the form values with.
1962
+ */
1963
+ parseValuesWithSchema: (schema: StandardSchemaV1<TFormData, unknown>) => {
1964
+ form: Record<string, StandardSchemaV1Issue[]>;
1965
+ fields: Record<string, StandardSchemaV1Issue[]>;
1966
+ } | undefined;
1967
+ /**
1968
+ * Parses the form's values with a given standard schema and returns
1969
+ * issues (if any). This method does NOT set any internal errors.
1970
+ * @param schema The standard schema to parse the form values with.
1971
+ */
1972
+ parseValuesWithSchemaAsync: (schema: StandardSchemaV1<TFormData, unknown>) => Promise<{
1973
+ form: Record<string, StandardSchemaV1Issue[]>;
1974
+ fields: Record<string, StandardSchemaV1Issue[]>;
1975
+ } | undefined>;
1976
+ }
1977
+ //#endregion
1978
+ //#region node_modules/@tanstack/devtools-event-client/dist/esm/plugin.d.ts
1979
+ declare global {
1980
+ var __TANSTACK_EVENT_TARGET__: EventTarget | null;
1981
+ }
1982
+ //#endregion
1983
+ //#region packages/components/features/tanstack-form/components/ui/label.d.ts
1984
+ /**
1985
+ * Form field label that automatically renders a "Required" badge when the field is marked aria-required.
1986
+ *
1987
+ * @example
1988
+ * import { Label } from '@customafk/lunas-ui/features/tanstack-form';
1989
+ *
1990
+ * <Label htmlFor="email">Email address</Label>
1991
+ */
1992
+ declare function Label$1({
1993
+ className,
1994
+ children,
1995
+ ...props
1996
+ }: React.ComponentProps<typeof Label.Root>): import("react").JSX.Element;
1997
+ //#endregion
1998
+ //#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
1999
+ type ArrayColProps = {
2000
+ /**
2001
+ * Fixed column width as a pixel number (e.g. `96`) or any CSS string
2002
+ * (e.g. `'8rem'`, `'20%'`). Omit to let the column expand and fill the
2003
+ * remaining row space (`flex: 1`).
2004
+ */
2005
+ width?: number | string;
2006
+ className?: string;
2007
+ children: React.ReactNode;
2008
+ };
2009
+ /**
2010
+ * Layout helper for columns inside a `SimpleArrayField` row. Controls width
2011
+ * without repeating `<div className="w-24">` or `<div className="flex-1">`.
2012
+ *
2013
+ * @example
2014
+ * <SimpleArrayField defaultRow={...}>
2015
+ * {i => (
2016
+ * <>
2017
+ * <ArrayCol> // flex-1 — takes remaining space
2018
+ * <AppField name={`items[${i}].name`}>...</AppField>
2019
+ * </ArrayCol>
2020
+ * <ArrayCol width={96}> // 96 px fixed
2021
+ * <AppField name={`items[${i}].qty`}>...</AppField>
2022
+ * </ArrayCol>
2023
+ * <ArrayCol width="8rem"> // CSS string
2024
+ * <AppField name={`items[${i}].tax`}>...</AppField>
2025
+ * </ArrayCol>
2026
+ * </>
2027
+ * )}
2028
+ * </SimpleArrayField>
2029
+ */
2030
+ declare function ArrayCol({
2031
+ width,
2032
+ className,
2033
+ children
2034
+ }: ArrayColProps): import("react").JSX.Element;
2035
+ type ArrayHeaderRowProps = {
2036
+ className?: string;
2037
+ children: React.ReactNode;
2038
+ };
2039
+ /**
2040
+ * Styled header row for a `SimpleArrayField` table. Place it directly above
2041
+ * `<SimpleArrayField>` and use `<ArrayCol>` children with text labels to align
2042
+ * headers with their columns. A spacer matching the delete-button width is
2043
+ * appended automatically.
2044
+ *
2045
+ * @example
2046
+ * <ArrayHeaderRow>
2047
+ * <ArrayCol>Name</ArrayCol>
2048
+ * <ArrayCol width={96}>Price</ArrayCol>
2049
+ * <ArrayCol width={80}>Qty</ArrayCol>
2050
+ * </ArrayHeaderRow>
2051
+ * <SimpleArrayField defaultRow={...}>
2052
+ * {i => (...)}
2053
+ * </SimpleArrayField>
2054
+ */
2055
+ declare function ArrayHeaderRow({
2056
+ className,
2057
+ children
2058
+ }: ArrayHeaderRowProps): import("react").JSX.Element;
2059
+ type Props<T> = {
2060
+ /**
2061
+ * Shape of a brand-new empty row appended when the user clicks "Add row".
2062
+ */
2063
+ defaultRow: T;
2064
+ /**
2065
+ * Render function called once per row. Receives the zero-based row `index`
2066
+ * so you can build field paths like `` `items[${index}].name` ``.
2067
+ */
2068
+ children: (index: number) => React.ReactNode; /** Label on the add button. Defaults to `'Add row'`. */
2069
+ addLabel?: string;
2070
+ className?: string;
2071
+ };
2072
+ /**
2073
+ * Array field wrapper that manages rows (add / remove) while letting you
2074
+ * freely compose any fields inside each row.
2075
+ *
2076
+ * @example
2077
+ * const { AppForm, AppField } = useTanStackForm({ defaultValues: { items: [] } });
2078
+ *
2079
+ * <AppForm>
2080
+ * <AppField name="items">
2081
+ * {({ SimpleArrayField }) => (
2082
+ * <SimpleArrayField defaultRow={{ name: null, qty: null }}>
2083
+ * {(i) => (
2084
+ * <div className="flex gap-2">
2085
+ * <AppField name={`items[${i}].name`}>
2086
+ * {({ SimpleTextField }) => <SimpleTextField label="Name" />}
2087
+ * </AppField>
2088
+ * <AppField name={`items[${i}].qty`}>
2089
+ * {({ SimpleNumberField }) => <SimpleNumberField label="Qty" />}
2090
+ * </AppField>
2091
+ * </div>
2092
+ * )}
2093
+ * </SimpleArrayField>
2094
+ * )}
2095
+ * </AppField>
2096
+ * </AppForm>
2097
+ */
2098
+ declare function SimpleArrayField<T>({
2099
+ defaultRow,
2100
+ children,
2101
+ addLabel,
2102
+ className
2103
+ }: Props<T>): import("react").JSX.Element;
2104
+ //#endregion
2105
+ //#region packages/components/features/tanstack-form/components/ui/field.d.ts
2106
+ declare const fieldVariants: (props?: ({
2107
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2108
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2109
+ /**
2110
+ * Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
2111
+ *
2112
+ * @example
2113
+ * import { FieldSet } from '@customafk/lunas-ui/features/tanstack-form';
2114
+ *
2115
+ * <FieldSet>
2116
+ * <Field><FieldLabel>Name</FieldLabel><FieldContent><input /></FieldContent></Field>
2117
+ * </FieldSet>
2118
+ */
2119
+ /**
2120
+ * Container `<div>` that groups a set of `Field` rows with container-query support for responsive layouts.
2121
+ *
2122
+ * @example
2123
+ * import { FieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
2124
+ *
2125
+ * <FieldGroup>
2126
+ * <Field>…</Field>
2127
+ * <Field>…</Field>
2128
+ * </FieldGroup>
2129
+ */
2130
+ declare const FieldGroup: import("react").MemoExoticComponent<({
2131
+ className,
2132
+ ...props
2133
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2134
+ /**
2135
+ * Single form field row that arranges label, input, and meta elements with configurable orientation.
2136
+ *
2137
+ * @example
2138
+ * import { Field } from '@customafk/lunas-ui/features/tanstack-form';
2139
+ *
2140
+ * <Field orientation="horizontal">
2141
+ * <FieldLabel htmlFor="username">Username</FieldLabel>
2142
+ * <FieldContent><input id="username" /></FieldContent>
2143
+ * </Field>
2144
+ */
2145
+ declare const Field: import("react").MemoExoticComponent<({
2146
+ className,
2147
+ orientation,
2148
+ ...props
2149
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => import("react").JSX.Element>;
2150
+ /**
2151
+ * Flex column wrapper that houses the primary input control together with description and error slots.
2152
+ *
2153
+ * @example
2154
+ * import { FieldContent } from '@customafk/lunas-ui/features/tanstack-form';
2155
+ *
2156
+ * <FieldContent>
2157
+ * <input type="text" />
2158
+ * <FieldDescription>Enter your full name.</FieldDescription>
2159
+ * </FieldContent>
2160
+ */
2161
+ declare const FieldContent: import("react").MemoExoticComponent<({
2162
+ className,
2163
+ ...props
2164
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2165
+ /**
2166
+ * Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
2167
+ *
2168
+ * @example
2169
+ * import { FieldContentMain } from '@customafk/lunas-ui/features/tanstack-form';
2170
+ *
2171
+ * <FieldContentMain>
2172
+ * <input type="text" className="pr-8" />
2173
+ * <SearchIcon className="absolute right-2 top-2" />
2174
+ * </FieldContentMain>
2175
+ */
2176
+ declare const FieldContentMain: import("react").MemoExoticComponent<({
2177
+ className,
2178
+ ...props
2179
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2180
+ /**
2181
+ * Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
2182
+ *
2183
+ * @example
2184
+ * import { FieldLabel } from '@customafk/lunas-ui/features/tanstack-form';
2185
+ *
2186
+ * <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
2187
+ */
2188
+ /**
2189
+ * Visual divider row that optionally displays a centered text label, used to separate logical sections within a `FieldGroup`.
2190
+ *
2191
+ * @example
2192
+ * import { FieldSeparator } from '@customafk/lunas-ui/features/tanstack-form';
2193
+ *
2194
+ * <FieldSeparator>or</FieldSeparator>
2195
+ */
2196
+ declare const FieldSeparator: import("react").MemoExoticComponent<({
2197
+ children,
2198
+ className,
2199
+ ...props
2200
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2201
+ /**
2202
+ * Props for {@link FieldError}.
2203
+ */
2204
+ type FieldErrorProps = React.ComponentProps<'div'> & {
2205
+ errors?: Array<{
2206
+ code?: string;
2207
+ message?: string;
2208
+ } | undefined>;
2209
+ requiredMessage?: string;
2210
+ };
2211
+ declare const FieldError: import("react").MemoExoticComponent<({
2212
+ className,
2213
+ children,
2214
+ errors,
2215
+ requiredMessage,
2216
+ ...props
2217
+ }: FieldErrorProps) => import("react").JSX.Element | null>;
2218
+ //#endregion
2219
+ //#region packages/components/features/tanstack-form/tanstack-form.d.ts
2220
+ declare const useTanStackFieldContext: <TData>() => FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useTanStackFormContext: () => import("@tanstack/react-form").ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
2221
+ /**
2222
+ * Factory result from {@link createFormHook} pre-wired with all Lunas UI field and form components.
2223
+ *
2224
+ * ### `useTanStackForm`
2225
+ * Pre-configured TanStack Form hook that returns a type-safe form instance bound to all Lunas UI
2226
+ * field and form components.
2227
+ *
2228
+ * @example
2229
+ * import { useTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
2230
+ *
2231
+ * const form = useTanStackForm({
2232
+ * defaultValues: { name: '', email: '' },
2233
+ * onSubmit: async ({ value }) => console.log(value),
2234
+ * });
2235
+ *
2236
+ * return (
2237
+ * <form.Provider>
2238
+ * <form.AppForm>
2239
+ * <form.AppField name="name" children={(field) => <field.TextField label="Name" />} />
2240
+ * <form.Subscribe selector={(s) => s.canSubmit}>
2241
+ * {(canSubmit) => <form.TanStackActionSubmit disabled={!canSubmit} />}
2242
+ * </form.Subscribe>
2243
+ * </form.AppForm>
2244
+ * </form.Provider>
2245
+ * );
2246
+ *
2247
+ * ### `withTanStackForm`
2248
+ * Higher-order component that wraps a sub-form component with access to the parent
2249
+ * `useTanStackForm` form context, enabling isolated field groups that still participate in the
2250
+ * top-level form state.
2251
+ *
2252
+ * @example
2253
+ * import { withTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
2254
+ *
2255
+ * const AddressFields = withTanStackForm(
2256
+ * { street: '', city: '' } as const,
2257
+ * ({ form }) => (
2258
+ * <>
2259
+ * <form.AppField name="street" children={(f) => <f.TextField label="Street" />} />
2260
+ * <form.AppField name="city" children={(f) => <f.TextField label="City" />} />
2261
+ * </>
2262
+ * ),
2263
+ * );
2264
+ *
2265
+ * ### `withTanStackFieldGroup`
2266
+ * Higher-order component that creates a reusable field-group component sharing the enclosing
2267
+ * `useTanStackForm` context without requiring additional form providers.
2268
+ *
2269
+ * @example
2270
+ * import { withTanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
2271
+ *
2272
+ * const ContactGroup = withTanStackFieldGroup(({ form }) => (
2273
+ * <form.AppField name="phone" children={(f) => <f.TextField label="Phone" />} />
2274
+ * ));
2275
+ */
2276
+ declare const useTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
2277
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2278
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2279
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2280
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2281
+ readonly EmailField: import("react").FC<EmailFieldProps>;
2282
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
2283
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2284
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2285
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2286
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
2287
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2288
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2289
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2290
+ readonly SimpleEmailField: import("react").FC<{
2291
+ label?: string;
2292
+ placeholder?: string;
2293
+ required?: boolean;
2294
+ maxLength?: number;
2295
+ disabled?: boolean;
2296
+ }>;
2297
+ readonly SimplePasswordField: import("react").FC<{
2298
+ label?: string;
2299
+ placeholder?: string;
2300
+ required?: boolean;
2301
+ disabled?: boolean;
2302
+ }>;
2303
+ readonly SimpleTextareaField: import("react").FC<{
2304
+ label?: string;
2305
+ placeholder?: string;
2306
+ required?: boolean;
2307
+ maxLength?: number;
2308
+ rows?: number;
2309
+ disabled?: boolean;
2310
+ }>;
2311
+ readonly SimpleNumberField: import("react").FC<{
2312
+ label?: string;
2313
+ placeholder?: string;
2314
+ required?: boolean;
2315
+ unit?: string;
2316
+ allowNegative?: boolean;
2317
+ disabled?: boolean;
2318
+ }>;
2319
+ readonly SimpleSelectField: import("react").FC<{
2320
+ label?: string;
2321
+ placeholder?: string;
2322
+ required?: boolean;
2323
+ options: Array<{
2324
+ value: string;
2325
+ label: string;
2326
+ }>;
2327
+ }>;
2328
+ readonly SimpleArrayField: typeof SimpleArrayField;
2329
+ readonly SimpleBooleanField: import("react").FC<{
2330
+ label?: string;
2331
+ required?: boolean;
2332
+ disabled?: boolean;
2333
+ variant?: "checkbox" | "switch";
2334
+ }>;
2335
+ readonly SimpleComboboxField: import("react").FC<{
2336
+ label?: string;
2337
+ placeholder?: string;
2338
+ required?: boolean;
2339
+ disabled?: boolean;
2340
+ options: Array<{
2341
+ value: string;
2342
+ label: string;
2343
+ }>;
2344
+ }>;
2345
+ readonly SimpleDateField: import("react").FC<{
2346
+ label?: string;
2347
+ placeholder?: string;
2348
+ required?: boolean;
2349
+ disabled?: boolean;
2350
+ minDate?: Date;
2351
+ maxDate?: Date;
2352
+ }>;
2353
+ readonly SimpleRadioGroupField: import("react").FC<{
2354
+ label?: string;
2355
+ required?: boolean;
2356
+ disabled?: boolean;
2357
+ options: Array<{
2358
+ value: string;
2359
+ label: string;
2360
+ }>;
2361
+ orientation?: "horizontal" | "vertical";
2362
+ }>;
2363
+ readonly FieldGroup: import("react").MemoExoticComponent<({
2364
+ className,
2365
+ ...props
2366
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2367
+ readonly Field: import("react").MemoExoticComponent<({
2368
+ className,
2369
+ orientation,
2370
+ ...props
2371
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2372
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2373
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
2374
+ readonly FieldContent: import("react").MemoExoticComponent<({
2375
+ className,
2376
+ ...props
2377
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2378
+ readonly FieldLabel: import("react").MemoExoticComponent<({
2379
+ className,
2380
+ ...props
2381
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2382
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
2383
+ className,
2384
+ ...props
2385
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2386
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
2387
+ children,
2388
+ className,
2389
+ ...props
2390
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2391
+ readonly FieldError: import("react").MemoExoticComponent<({
2392
+ className,
2393
+ children,
2394
+ errors,
2395
+ requiredMessage,
2396
+ ...props
2397
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2398
+ errors?: Array<{
2399
+ code?: string;
2400
+ message?: string;
2401
+ } | undefined>;
2402
+ requiredMessage?: string;
2403
+ }) => import("react").JSX.Element | null>;
2404
+ }, {
2405
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2406
+ title: string;
2407
+ submitText?: string;
2408
+ width?: number | string;
2409
+ maxWidth?: number | string;
2410
+ className?: string;
2411
+ open?: boolean;
2412
+ onOpenChange?: (open: boolean) => void;
2413
+ }>>;
2414
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2415
+ title: string;
2416
+ open?: boolean;
2417
+ contentClassName?: string;
2418
+ onOpenChange?: (open: boolean) => void;
2419
+ }>>;
2420
+ readonly TanStackContainerForm: import("react").FC<{
2421
+ children?: import("react").ReactNode | undefined;
2422
+ }>;
2423
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2424
+ title: string;
2425
+ }>>;
2426
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2427
+ title: string;
2428
+ description?: string;
2429
+ onDelete?: () => void | Promise<void>;
2430
+ }>>;
2431
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2432
+ label: string;
2433
+ description?: string;
2434
+ helperText?: string;
2435
+ orientation?: "horizontal" | "vertical" | "responsive";
2436
+ }>>;
2437
+ readonly TanStackTitleField: import("react").FC<{
2438
+ title: string;
2439
+ description?: string;
2440
+ helperText?: string;
2441
+ }>;
2442
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2443
+ type?: "create" | "update";
2444
+ }>>;
2445
+ readonly TanStackActionSubmit: import("react").FC<{
2446
+ label?: string;
2447
+ className?: string;
2448
+ }>;
2449
+ readonly ArrayCol: typeof ArrayCol;
2450
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2451
+ }>, withTanStackForm: <TFormData, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
2452
+ render,
2453
+ props
2454
+ }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
2455
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2456
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2457
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2458
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2459
+ readonly EmailField: import("react").FC<EmailFieldProps>;
2460
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
2461
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2462
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2463
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2464
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
2465
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2466
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2467
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2468
+ readonly SimpleEmailField: import("react").FC<{
2469
+ label?: string;
2470
+ placeholder?: string;
2471
+ required?: boolean;
2472
+ maxLength?: number;
2473
+ disabled?: boolean;
2474
+ }>;
2475
+ readonly SimplePasswordField: import("react").FC<{
2476
+ label?: string;
2477
+ placeholder?: string;
2478
+ required?: boolean;
2479
+ disabled?: boolean;
2480
+ }>;
2481
+ readonly SimpleTextareaField: import("react").FC<{
2482
+ label?: string;
2483
+ placeholder?: string;
2484
+ required?: boolean;
2485
+ maxLength?: number;
2486
+ rows?: number;
2487
+ disabled?: boolean;
2488
+ }>;
2489
+ readonly SimpleNumberField: import("react").FC<{
2490
+ label?: string;
2491
+ placeholder?: string;
2492
+ required?: boolean;
2493
+ unit?: string;
2494
+ allowNegative?: boolean;
2495
+ disabled?: boolean;
2496
+ }>;
2497
+ readonly SimpleSelectField: import("react").FC<{
2498
+ label?: string;
2499
+ placeholder?: string;
2500
+ required?: boolean;
2501
+ options: Array<{
2502
+ value: string;
2503
+ label: string;
2504
+ }>;
2505
+ }>;
2506
+ readonly SimpleArrayField: typeof SimpleArrayField;
2507
+ readonly SimpleBooleanField: import("react").FC<{
2508
+ label?: string;
2509
+ required?: boolean;
2510
+ disabled?: boolean;
2511
+ variant?: "checkbox" | "switch";
2512
+ }>;
2513
+ readonly SimpleComboboxField: import("react").FC<{
2514
+ label?: string;
2515
+ placeholder?: string;
2516
+ required?: boolean;
2517
+ disabled?: boolean;
2518
+ options: Array<{
2519
+ value: string;
2520
+ label: string;
2521
+ }>;
2522
+ }>;
2523
+ readonly SimpleDateField: import("react").FC<{
2524
+ label?: string;
2525
+ placeholder?: string;
2526
+ required?: boolean;
2527
+ disabled?: boolean;
2528
+ minDate?: Date;
2529
+ maxDate?: Date;
2530
+ }>;
2531
+ readonly SimpleRadioGroupField: import("react").FC<{
2532
+ label?: string;
2533
+ required?: boolean;
2534
+ disabled?: boolean;
2535
+ options: Array<{
2536
+ value: string;
2537
+ label: string;
2538
+ }>;
2539
+ orientation?: "horizontal" | "vertical";
2540
+ }>;
2541
+ readonly FieldGroup: import("react").MemoExoticComponent<({
2542
+ className,
2543
+ ...props
2544
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2545
+ readonly Field: import("react").MemoExoticComponent<({
2546
+ className,
2547
+ orientation,
2548
+ ...props
2549
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2550
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2551
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
2552
+ readonly FieldContent: import("react").MemoExoticComponent<({
2553
+ className,
2554
+ ...props
2555
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2556
+ readonly FieldLabel: import("react").MemoExoticComponent<({
2557
+ className,
2558
+ ...props
2559
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2560
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
2561
+ className,
2562
+ ...props
2563
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2564
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
2565
+ children,
2566
+ className,
2567
+ ...props
2568
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2569
+ readonly FieldError: import("react").MemoExoticComponent<({
2570
+ className,
2571
+ children,
2572
+ errors,
2573
+ requiredMessage,
2574
+ ...props
2575
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2576
+ errors?: Array<{
2577
+ code?: string;
2578
+ message?: string;
2579
+ } | undefined>;
2580
+ requiredMessage?: string;
2581
+ }) => import("react").JSX.Element | null>;
2582
+ }, {
2583
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2584
+ title: string;
2585
+ submitText?: string;
2586
+ width?: number | string;
2587
+ maxWidth?: number | string;
2588
+ className?: string;
2589
+ open?: boolean;
2590
+ onOpenChange?: (open: boolean) => void;
2591
+ }>>;
2592
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2593
+ title: string;
2594
+ open?: boolean;
2595
+ contentClassName?: string;
2596
+ onOpenChange?: (open: boolean) => void;
2597
+ }>>;
2598
+ readonly TanStackContainerForm: import("react").FC<{
2599
+ children?: import("react").ReactNode | undefined;
2600
+ }>;
2601
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2602
+ title: string;
2603
+ }>>;
2604
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2605
+ title: string;
2606
+ description?: string;
2607
+ onDelete?: () => void | Promise<void>;
2608
+ }>>;
2609
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2610
+ label: string;
2611
+ description?: string;
2612
+ helperText?: string;
2613
+ orientation?: "horizontal" | "vertical" | "responsive";
2614
+ }>>;
2615
+ readonly TanStackTitleField: import("react").FC<{
2616
+ title: string;
2617
+ description?: string;
2618
+ helperText?: string;
2619
+ }>;
2620
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2621
+ type?: "create" | "update";
2622
+ }>>;
2623
+ readonly TanStackActionSubmit: import("react").FC<{
2624
+ label?: string;
2625
+ className?: string;
2626
+ }>;
2627
+ readonly ArrayCol: typeof ArrayCol;
2628
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2629
+ }, TRenderProps>) => import("react").FunctionComponent<import("react").PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
2630
+ form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
2631
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2632
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2633
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2634
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2635
+ readonly EmailField: import("react").FC<EmailFieldProps>;
2636
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
2637
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2638
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2639
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2640
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
2641
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2642
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2643
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2644
+ readonly SimpleEmailField: import("react").FC<{
2645
+ label?: string;
2646
+ placeholder?: string;
2647
+ required?: boolean;
2648
+ maxLength?: number;
2649
+ disabled?: boolean;
2650
+ }>;
2651
+ readonly SimplePasswordField: import("react").FC<{
2652
+ label?: string;
2653
+ placeholder?: string;
2654
+ required?: boolean;
2655
+ disabled?: boolean;
2656
+ }>;
2657
+ readonly SimpleTextareaField: import("react").FC<{
2658
+ label?: string;
2659
+ placeholder?: string;
2660
+ required?: boolean;
2661
+ maxLength?: number;
2662
+ rows?: number;
2663
+ disabled?: boolean;
2664
+ }>;
2665
+ readonly SimpleNumberField: import("react").FC<{
2666
+ label?: string;
2667
+ placeholder?: string;
2668
+ required?: boolean;
2669
+ unit?: string;
2670
+ allowNegative?: boolean;
2671
+ disabled?: boolean;
2672
+ }>;
2673
+ readonly SimpleSelectField: import("react").FC<{
2674
+ label?: string;
2675
+ placeholder?: string;
2676
+ required?: boolean;
2677
+ options: Array<{
2678
+ value: string;
2679
+ label: string;
2680
+ }>;
2681
+ }>;
2682
+ readonly SimpleArrayField: typeof SimpleArrayField;
2683
+ readonly SimpleBooleanField: import("react").FC<{
2684
+ label?: string;
2685
+ required?: boolean;
2686
+ disabled?: boolean;
2687
+ variant?: "checkbox" | "switch";
2688
+ }>;
2689
+ readonly SimpleComboboxField: import("react").FC<{
2690
+ label?: string;
2691
+ placeholder?: string;
2692
+ required?: boolean;
2693
+ disabled?: boolean;
2694
+ options: Array<{
2695
+ value: string;
2696
+ label: string;
2697
+ }>;
2698
+ }>;
2699
+ readonly SimpleDateField: import("react").FC<{
2700
+ label?: string;
2701
+ placeholder?: string;
2702
+ required?: boolean;
2703
+ disabled?: boolean;
2704
+ minDate?: Date;
2705
+ maxDate?: Date;
2706
+ }>;
2707
+ readonly SimpleRadioGroupField: import("react").FC<{
2708
+ label?: string;
2709
+ required?: boolean;
2710
+ disabled?: boolean;
2711
+ options: Array<{
2712
+ value: string;
2713
+ label: string;
2714
+ }>;
2715
+ orientation?: "horizontal" | "vertical";
2716
+ }>;
2717
+ readonly FieldGroup: import("react").MemoExoticComponent<({
2718
+ className,
2719
+ ...props
2720
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2721
+ readonly Field: import("react").MemoExoticComponent<({
2722
+ className,
2723
+ orientation,
2724
+ ...props
2725
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2726
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2727
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
2728
+ readonly FieldContent: import("react").MemoExoticComponent<({
2729
+ className,
2730
+ ...props
2731
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2732
+ readonly FieldLabel: import("react").MemoExoticComponent<({
2733
+ className,
2734
+ ...props
2735
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2736
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
2737
+ className,
2738
+ ...props
2739
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2740
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
2741
+ children,
2742
+ className,
2743
+ ...props
2744
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2745
+ readonly FieldError: import("react").MemoExoticComponent<({
2746
+ className,
2747
+ children,
2748
+ errors,
2749
+ requiredMessage,
2750
+ ...props
2751
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2752
+ errors?: Array<{
2753
+ code?: string;
2754
+ message?: string;
2755
+ } | undefined>;
2756
+ requiredMessage?: string;
2757
+ }) => import("react").JSX.Element | null>;
2758
+ }, {
2759
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2760
+ title: string;
2761
+ submitText?: string;
2762
+ width?: number | string;
2763
+ maxWidth?: number | string;
2764
+ className?: string;
2765
+ open?: boolean;
2766
+ onOpenChange?: (open: boolean) => void;
2767
+ }>>;
2768
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2769
+ title: string;
2770
+ open?: boolean;
2771
+ contentClassName?: string;
2772
+ onOpenChange?: (open: boolean) => void;
2773
+ }>>;
2774
+ readonly TanStackContainerForm: import("react").FC<{
2775
+ children?: import("react").ReactNode | undefined;
2776
+ }>;
2777
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2778
+ title: string;
2779
+ }>>;
2780
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2781
+ title: string;
2782
+ description?: string;
2783
+ onDelete?: () => void | Promise<void>;
2784
+ }>>;
2785
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2786
+ label: string;
2787
+ description?: string;
2788
+ helperText?: string;
2789
+ orientation?: "horizontal" | "vertical" | "responsive";
2790
+ }>>;
2791
+ readonly TanStackTitleField: import("react").FC<{
2792
+ title: string;
2793
+ description?: string;
2794
+ helperText?: string;
2795
+ }>;
2796
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2797
+ type?: "create" | "update";
2798
+ }>>;
2799
+ readonly TanStackActionSubmit: import("react").FC<{
2800
+ label?: string;
2801
+ className?: string;
2802
+ }>;
2803
+ readonly ArrayCol: typeof ArrayCol;
2804
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2805
+ }>;
2806
+ }>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
2807
+ render,
2808
+ props,
2809
+ defaultValues
2810
+ }: import("@tanstack/react-form").WithFieldGroupProps<TFieldGroupData, {
2811
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2812
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2813
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2814
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2815
+ readonly EmailField: import("react").FC<EmailFieldProps>;
2816
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
2817
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2818
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2819
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2820
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
2821
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2822
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2823
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
2824
+ readonly SimpleEmailField: import("react").FC<{
2825
+ label?: string;
2826
+ placeholder?: string;
2827
+ required?: boolean;
2828
+ maxLength?: number;
2829
+ disabled?: boolean;
2830
+ }>;
2831
+ readonly SimplePasswordField: import("react").FC<{
2832
+ label?: string;
2833
+ placeholder?: string;
2834
+ required?: boolean;
2835
+ disabled?: boolean;
2836
+ }>;
2837
+ readonly SimpleTextareaField: import("react").FC<{
2838
+ label?: string;
2839
+ placeholder?: string;
2840
+ required?: boolean;
2841
+ maxLength?: number;
2842
+ rows?: number;
2843
+ disabled?: boolean;
2844
+ }>;
2845
+ readonly SimpleNumberField: import("react").FC<{
2846
+ label?: string;
2847
+ placeholder?: string;
2848
+ required?: boolean;
2849
+ unit?: string;
2850
+ allowNegative?: boolean;
2851
+ disabled?: boolean;
2852
+ }>;
2853
+ readonly SimpleSelectField: import("react").FC<{
2854
+ label?: string;
2855
+ placeholder?: string;
2856
+ required?: boolean;
2857
+ options: Array<{
2858
+ value: string;
2859
+ label: string;
2860
+ }>;
2861
+ }>;
2862
+ readonly SimpleArrayField: typeof SimpleArrayField;
2863
+ readonly SimpleBooleanField: import("react").FC<{
2864
+ label?: string;
2865
+ required?: boolean;
2866
+ disabled?: boolean;
2867
+ variant?: "checkbox" | "switch";
2868
+ }>;
2869
+ readonly SimpleComboboxField: import("react").FC<{
2870
+ label?: string;
2871
+ placeholder?: string;
2872
+ required?: boolean;
2873
+ disabled?: boolean;
2874
+ options: Array<{
2875
+ value: string;
2876
+ label: string;
2877
+ }>;
2878
+ }>;
2879
+ readonly SimpleDateField: import("react").FC<{
2880
+ label?: string;
2881
+ placeholder?: string;
2882
+ required?: boolean;
2883
+ disabled?: boolean;
2884
+ minDate?: Date;
2885
+ maxDate?: Date;
2886
+ }>;
2887
+ readonly SimpleRadioGroupField: import("react").FC<{
2888
+ label?: string;
2889
+ required?: boolean;
2890
+ disabled?: boolean;
2891
+ options: Array<{
2892
+ value: string;
2893
+ label: string;
2894
+ }>;
2895
+ orientation?: "horizontal" | "vertical";
2896
+ }>;
2897
+ readonly FieldGroup: import("react").MemoExoticComponent<({
2898
+ className,
2899
+ ...props
2900
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2901
+ readonly Field: import("react").MemoExoticComponent<({
2902
+ className,
2903
+ orientation,
2904
+ ...props
2905
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
2906
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2907
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
2908
+ readonly FieldContent: import("react").MemoExoticComponent<({
2909
+ className,
2910
+ ...props
2911
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2912
+ readonly FieldLabel: import("react").MemoExoticComponent<({
2913
+ className,
2914
+ ...props
2915
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
2916
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
2917
+ className,
2918
+ ...props
2919
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
2920
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
2921
+ children,
2922
+ className,
2923
+ ...props
2924
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
2925
+ readonly FieldError: import("react").MemoExoticComponent<({
2926
+ className,
2927
+ children,
2928
+ errors,
2929
+ requiredMessage,
2930
+ ...props
2931
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2932
+ errors?: Array<{
2933
+ code?: string;
2934
+ message?: string;
2935
+ } | undefined>;
2936
+ requiredMessage?: string;
2937
+ }) => import("react").JSX.Element | null>;
2938
+ }, {
2939
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
2940
+ title: string;
2941
+ submitText?: string;
2942
+ width?: number | string;
2943
+ maxWidth?: number | string;
2944
+ className?: string;
2945
+ open?: boolean;
2946
+ onOpenChange?: (open: boolean) => void;
2947
+ }>>;
2948
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
2949
+ title: string;
2950
+ open?: boolean;
2951
+ contentClassName?: string;
2952
+ onOpenChange?: (open: boolean) => void;
2953
+ }>>;
2954
+ readonly TanStackContainerForm: import("react").FC<{
2955
+ children?: import("react").ReactNode | undefined;
2956
+ }>;
2957
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
2958
+ title: string;
2959
+ }>>;
2960
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
2961
+ title: string;
2962
+ description?: string;
2963
+ onDelete?: () => void | Promise<void>;
2964
+ }>>;
2965
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
2966
+ label: string;
2967
+ description?: string;
2968
+ helperText?: string;
2969
+ orientation?: "horizontal" | "vertical" | "responsive";
2970
+ }>>;
2971
+ readonly TanStackTitleField: import("react").FC<{
2972
+ title: string;
2973
+ description?: string;
2974
+ helperText?: string;
2975
+ }>;
2976
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
2977
+ type?: "create" | "update";
2978
+ }>>;
2979
+ readonly TanStackActionSubmit: import("react").FC<{
2980
+ label?: string;
2981
+ className?: string;
2982
+ }>;
2983
+ readonly ArrayCol: typeof ArrayCol;
2984
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2985
+ }, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | FieldsMap<TFormData, TFieldGroupData>, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: import("react").PropsWithChildren<NoInfer<TRenderProps> & {
2986
+ form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
2987
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
2988
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
2989
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
2990
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
2991
+ readonly EmailField: import("react").FC<EmailFieldProps>;
2992
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
2993
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
2994
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
2995
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
2996
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
2997
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
2998
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
2999
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3000
+ readonly SimpleEmailField: import("react").FC<{
3001
+ label?: string;
3002
+ placeholder?: string;
3003
+ required?: boolean;
3004
+ maxLength?: number;
3005
+ disabled?: boolean;
3006
+ }>;
3007
+ readonly SimplePasswordField: import("react").FC<{
3008
+ label?: string;
3009
+ placeholder?: string;
3010
+ required?: boolean;
3011
+ disabled?: boolean;
3012
+ }>;
3013
+ readonly SimpleTextareaField: import("react").FC<{
3014
+ label?: string;
3015
+ placeholder?: string;
3016
+ required?: boolean;
3017
+ maxLength?: number;
3018
+ rows?: number;
3019
+ disabled?: boolean;
3020
+ }>;
3021
+ readonly SimpleNumberField: import("react").FC<{
3022
+ label?: string;
3023
+ placeholder?: string;
3024
+ required?: boolean;
3025
+ unit?: string;
3026
+ allowNegative?: boolean;
3027
+ disabled?: boolean;
3028
+ }>;
3029
+ readonly SimpleSelectField: import("react").FC<{
3030
+ label?: string;
3031
+ placeholder?: string;
3032
+ required?: boolean;
3033
+ options: Array<{
3034
+ value: string;
3035
+ label: string;
3036
+ }>;
3037
+ }>;
3038
+ readonly SimpleArrayField: typeof SimpleArrayField;
3039
+ readonly SimpleBooleanField: import("react").FC<{
3040
+ label?: string;
3041
+ required?: boolean;
3042
+ disabled?: boolean;
3043
+ variant?: "checkbox" | "switch";
3044
+ }>;
3045
+ readonly SimpleComboboxField: import("react").FC<{
3046
+ label?: string;
3047
+ placeholder?: string;
3048
+ required?: boolean;
3049
+ disabled?: boolean;
3050
+ options: Array<{
3051
+ value: string;
3052
+ label: string;
3053
+ }>;
3054
+ }>;
3055
+ readonly SimpleDateField: import("react").FC<{
3056
+ label?: string;
3057
+ placeholder?: string;
3058
+ required?: boolean;
3059
+ disabled?: boolean;
3060
+ minDate?: Date;
3061
+ maxDate?: Date;
3062
+ }>;
3063
+ readonly SimpleRadioGroupField: import("react").FC<{
3064
+ label?: string;
3065
+ required?: boolean;
3066
+ disabled?: boolean;
3067
+ options: Array<{
3068
+ value: string;
3069
+ label: string;
3070
+ }>;
3071
+ orientation?: "horizontal" | "vertical";
3072
+ }>;
3073
+ readonly FieldGroup: import("react").MemoExoticComponent<({
3074
+ className,
3075
+ ...props
3076
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3077
+ readonly Field: import("react").MemoExoticComponent<({
3078
+ className,
3079
+ orientation,
3080
+ ...props
3081
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
3082
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3083
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3084
+ readonly FieldContent: import("react").MemoExoticComponent<({
3085
+ className,
3086
+ ...props
3087
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3088
+ readonly FieldLabel: import("react").MemoExoticComponent<({
3089
+ className,
3090
+ ...props
3091
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3092
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
3093
+ className,
3094
+ ...props
3095
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3096
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
3097
+ children,
3098
+ className,
3099
+ ...props
3100
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3101
+ readonly FieldError: import("react").MemoExoticComponent<({
3102
+ className,
3103
+ children,
3104
+ errors,
3105
+ requiredMessage,
3106
+ ...props
3107
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3108
+ errors?: Array<{
3109
+ code?: string;
3110
+ message?: string;
3111
+ } | undefined>;
3112
+ requiredMessage?: string;
3113
+ }) => import("react").JSX.Element | null>;
3114
+ }, {
3115
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
3116
+ title: string;
3117
+ submitText?: string;
3118
+ width?: number | string;
3119
+ maxWidth?: number | string;
3120
+ className?: string;
3121
+ open?: boolean;
3122
+ onOpenChange?: (open: boolean) => void;
3123
+ }>>;
3124
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
3125
+ title: string;
3126
+ open?: boolean;
3127
+ contentClassName?: string;
3128
+ onOpenChange?: (open: boolean) => void;
3129
+ }>>;
3130
+ readonly TanStackContainerForm: import("react").FC<{
3131
+ children?: import("react").ReactNode | undefined;
3132
+ }>;
3133
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
3134
+ title: string;
3135
+ }>>;
3136
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
3137
+ title: string;
3138
+ description?: string;
3139
+ onDelete?: () => void | Promise<void>;
3140
+ }>>;
3141
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
3142
+ label: string;
3143
+ description?: string;
3144
+ helperText?: string;
3145
+ orientation?: "horizontal" | "vertical" | "responsive";
3146
+ }>>;
3147
+ readonly TanStackTitleField: import("react").FC<{
3148
+ title: string;
3149
+ description?: string;
3150
+ helperText?: string;
3151
+ }>;
3152
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
3153
+ type?: "create" | "update";
3154
+ }>>;
3155
+ readonly TanStackActionSubmit: import("react").FC<{
3156
+ label?: string;
3157
+ className?: string;
3158
+ }>;
3159
+ readonly ArrayCol: typeof ArrayCol;
3160
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
3161
+ }> | import("@tanstack/react-form").AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
3162
+ readonly TextField: import("react").NamedExoticComponent<TextFieldProps>;
3163
+ readonly TextareaField: import("react").NamedExoticComponent<TextareaFieldProps>;
3164
+ readonly TextEditorField: import("react").FC<TextEditorFieldProps>;
3165
+ readonly NumberField: import("react").NamedExoticComponent<NumberFieldProps>;
3166
+ readonly EmailField: import("react").FC<EmailFieldProps>;
3167
+ readonly PasswordField: import("react").FC<PasswordFieldProps>;
3168
+ readonly SelectField: import("react").NamedExoticComponent<SelectFieldProps>;
3169
+ readonly ComboboxField: import("react").NamedExoticComponent<ComboboxFieldProps>;
3170
+ readonly DateField: import("react").NamedExoticComponent<DateFieldProps>;
3171
+ readonly SwitchField: import("react").FC<SwitchFieldProps>;
3172
+ readonly RadioGroupField: import("react").FC<RadioGroupFieldProps>;
3173
+ readonly CheckboxField: import("react").FC<CheckboxFieldProps>;
3174
+ readonly SimpleTextField: import("react").FC<SimpleTextFieldProps>;
3175
+ readonly SimpleEmailField: import("react").FC<{
3176
+ label?: string;
3177
+ placeholder?: string;
3178
+ required?: boolean;
3179
+ maxLength?: number;
3180
+ disabled?: boolean;
3181
+ }>;
3182
+ readonly SimplePasswordField: import("react").FC<{
3183
+ label?: string;
3184
+ placeholder?: string;
3185
+ required?: boolean;
3186
+ disabled?: boolean;
3187
+ }>;
3188
+ readonly SimpleTextareaField: import("react").FC<{
3189
+ label?: string;
3190
+ placeholder?: string;
3191
+ required?: boolean;
3192
+ maxLength?: number;
3193
+ rows?: number;
3194
+ disabled?: boolean;
3195
+ }>;
3196
+ readonly SimpleNumberField: import("react").FC<{
3197
+ label?: string;
3198
+ placeholder?: string;
3199
+ required?: boolean;
3200
+ unit?: string;
3201
+ allowNegative?: boolean;
3202
+ disabled?: boolean;
3203
+ }>;
3204
+ readonly SimpleSelectField: import("react").FC<{
3205
+ label?: string;
3206
+ placeholder?: string;
3207
+ required?: boolean;
3208
+ options: Array<{
3209
+ value: string;
3210
+ label: string;
3211
+ }>;
3212
+ }>;
3213
+ readonly SimpleArrayField: typeof SimpleArrayField;
3214
+ readonly SimpleBooleanField: import("react").FC<{
3215
+ label?: string;
3216
+ required?: boolean;
3217
+ disabled?: boolean;
3218
+ variant?: "checkbox" | "switch";
3219
+ }>;
3220
+ readonly SimpleComboboxField: import("react").FC<{
3221
+ label?: string;
3222
+ placeholder?: string;
3223
+ required?: boolean;
3224
+ disabled?: boolean;
3225
+ options: Array<{
3226
+ value: string;
3227
+ label: string;
3228
+ }>;
3229
+ }>;
3230
+ readonly SimpleDateField: import("react").FC<{
3231
+ label?: string;
3232
+ placeholder?: string;
3233
+ required?: boolean;
3234
+ disabled?: boolean;
3235
+ minDate?: Date;
3236
+ maxDate?: Date;
3237
+ }>;
3238
+ readonly SimpleRadioGroupField: import("react").FC<{
3239
+ label?: string;
3240
+ required?: boolean;
3241
+ disabled?: boolean;
3242
+ options: Array<{
3243
+ value: string;
3244
+ label: string;
3245
+ }>;
3246
+ orientation?: "horizontal" | "vertical";
3247
+ }>;
3248
+ readonly FieldGroup: import("react").MemoExoticComponent<({
3249
+ className,
3250
+ ...props
3251
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3252
+ readonly Field: import("react").MemoExoticComponent<({
3253
+ className,
3254
+ orientation,
3255
+ ...props
3256
+ }: React.ComponentProps<"div"> & import("class-variance-authority").VariantProps<(props?: ({
3257
+ orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
3258
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string>) => import("react").JSX.Element>;
3259
+ readonly FieldContent: import("react").MemoExoticComponent<({
3260
+ className,
3261
+ ...props
3262
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3263
+ readonly FieldLabel: import("react").MemoExoticComponent<({
3264
+ className,
3265
+ ...props
3266
+ }: React.ComponentProps<typeof Label$1>) => import("react").JSX.Element>;
3267
+ readonly FieldContentMain: import("react").MemoExoticComponent<({
3268
+ className,
3269
+ ...props
3270
+ }: React.ComponentProps<"div">) => import("react").JSX.Element>;
3271
+ readonly FieldSeparator: import("react").MemoExoticComponent<({
3272
+ children,
3273
+ className,
3274
+ ...props
3275
+ }: React.PropsWithChildren<React.ComponentProps<"div">>) => import("react").JSX.Element>;
3276
+ readonly FieldError: import("react").MemoExoticComponent<({
3277
+ className,
3278
+ children,
3279
+ errors,
3280
+ requiredMessage,
3281
+ ...props
3282
+ }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3283
+ errors?: Array<{
3284
+ code?: string;
3285
+ message?: string;
3286
+ } | undefined>;
3287
+ requiredMessage?: string;
3288
+ }) => import("react").JSX.Element | null>;
3289
+ }, {
3290
+ readonly TanStackDialogForm: import("react").FC<import("react").PropsWithChildren<{
3291
+ title: string;
3292
+ submitText?: string;
3293
+ width?: number | string;
3294
+ maxWidth?: number | string;
3295
+ className?: string;
3296
+ open?: boolean;
3297
+ onOpenChange?: (open: boolean) => void;
3298
+ }>>;
3299
+ readonly TanStackPopoverForm: import("react").FC<import("react").PropsWithChildren<{
3300
+ title: string;
3301
+ open?: boolean;
3302
+ contentClassName?: string;
3303
+ onOpenChange?: (open: boolean) => void;
3304
+ }>>;
3305
+ readonly TanStackContainerForm: import("react").FC<{
3306
+ children?: import("react").ReactNode | undefined;
3307
+ }>;
3308
+ readonly TanStackSectionForm: import("react").FC<import("react").PropsWithChildren<{
3309
+ title: string;
3310
+ }>>;
3311
+ readonly TanStackCardForm: import("react").FC<import("react").PropsWithChildren<{
3312
+ title: string;
3313
+ description?: string;
3314
+ onDelete?: () => void | Promise<void>;
3315
+ }>>;
3316
+ readonly TanStackFieldGroup: import("react").FC<import("react").PropsWithChildren<{
3317
+ label: string;
3318
+ description?: string;
3319
+ helperText?: string;
3320
+ orientation?: "horizontal" | "vertical" | "responsive";
3321
+ }>>;
3322
+ readonly TanStackTitleField: import("react").FC<{
3323
+ title: string;
3324
+ description?: string;
3325
+ helperText?: string;
3326
+ }>;
3327
+ readonly TanStackActionsForm: import("react").FC<import("react").PropsWithChildren<{
3328
+ type?: "create" | "update";
3329
+ }>>;
3330
+ readonly TanStackActionSubmit: import("react").FC<{
3331
+ label?: string;
3332
+ className?: string;
3333
+ }>;
3334
+ readonly ArrayCol: typeof ArrayCol;
3335
+ readonly ArrayHeaderRow: typeof ArrayHeaderRow;
3336
+ }>;
3337
+ fields: TFields;
3338
+ }>) => ReturnType<import("react").FunctionComponent>;
3339
+ //#endregion
3340
+ export { SimpleTextFieldProps as A, NumberFieldProps as C, RadioOption as D, RadioGroupFieldProps as E, TextareaFieldProps as F, TextEditorFieldProps as M, TextFieldProps as N, SelectFieldProps as O, TextFieldValue as P, MultiSelectFieldValue as S, PasswordFieldProps as T, DateFieldValue as _, withTanStackForm as a, FieldRounding as b, FieldContentMain as c, FieldSeparator as d, AnyFieldProps as f, DateFieldProps as g, ComboboxFieldProps as h, withTanStackFieldGroup as i, SwitchFieldProps as j, SelectOption as k, FieldError as l, CheckboxFieldProps as m, useTanStackForm as n, Field as o, BooleanFieldValue as p, useTanStackFormContext as r, FieldContent as s, useTanStackFieldContext as t, FieldGroup as u, EmailFieldProps as v, NumberFieldValue as w, FieldType as x, FieldOrientation as y };
3341
+ //# sourceMappingURL=index-COLxGpG6.d.cts.map