@customafk/lunas-ui 0.2.36 → 0.2.38

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 (523) hide show
  1. package/dist/{alert-DubR6Szk.cjs → alert-B2PaDJp6.cjs} +2 -2
  2. package/dist/{alert-DubR6Szk.cjs.map → alert-B2PaDJp6.cjs.map} +1 -1
  3. package/dist/{alert-ArM88PNb.d.cts → alert-C-bk-pne.d.mts} +7 -7
  4. package/dist/{alert-oiaUJxqr.d.mts → alert-DDxGzOzi.d.cts} +7 -7
  5. package/dist/{avatar-CqRl9dge.cjs → avatar-TyOphzGo.cjs} +2 -2
  6. package/dist/{avatar-CqRl9dge.cjs.map → avatar-TyOphzGo.cjs.map} +1 -1
  7. package/dist/{avatar-m1LjDIil.mjs → avatar-fltdRVsJ.mjs} +1 -1
  8. package/dist/{avatar-m1LjDIil.mjs.map → avatar-fltdRVsJ.mjs.map} +1 -1
  9. package/dist/{badge-Bhbhmsic.mjs → badge-CDGBGq8X.mjs} +1 -1
  10. package/dist/{badge-Bhbhmsic.mjs.map → badge-CDGBGq8X.mjs.map} +1 -1
  11. package/dist/{badge-D5Wq3XJq.d.cts → badge-IUtmECjN.d.cts} +5 -5
  12. package/dist/{badge-DMnKV_uW.cjs → badge-KW7xu5Ca.cjs} +2 -2
  13. package/dist/{badge-DMnKV_uW.cjs.map → badge-KW7xu5Ca.cjs.map} +1 -1
  14. package/dist/{badge-C9JgOJ5_.d.mts → badge-lvr8nB_0.d.mts} +5 -5
  15. package/dist/{button-CdROwJlN.d.cts → button-Brw-tmr9.d.cts} +6 -6
  16. package/dist/{button-Bu4ejNOW.cjs → button-C--DAN1D.cjs} +2 -2
  17. package/dist/button-C--DAN1D.cjs.map +1 -0
  18. package/dist/button-CCVJTHBI.mjs +2 -0
  19. package/dist/button-CCVJTHBI.mjs.map +1 -0
  20. package/dist/{button-CoySHVye.d.mts → button-DhDRMeFA.d.mts} +6 -6
  21. package/dist/{button.variants-tnhb123u.cjs → button.variants-4kw6plrv.cjs} +2 -2
  22. package/dist/{button.variants-tnhb123u.cjs.map → button.variants-4kw6plrv.cjs.map} +1 -1
  23. package/dist/{button.variants-B8aRZ52K.mjs → button.variants-DkMqWB8G.mjs} +1 -1
  24. package/dist/{button.variants-B8aRZ52K.mjs.map → button.variants-DkMqWB8G.mjs.map} +1 -1
  25. package/dist/{calendar-CMd11yg9.cjs → calendar-4weBDnXz.cjs} +2 -2
  26. package/dist/{calendar-CMd11yg9.cjs.map → calendar-4weBDnXz.cjs.map} +1 -1
  27. package/dist/{calendar-BDhIfwPP.mjs → calendar-R866yyd1.mjs} +2 -2
  28. package/dist/{calendar-BDhIfwPP.mjs.map → calendar-R866yyd1.mjs.map} +1 -1
  29. package/dist/cards/grid-product-card.cjs +1 -1
  30. package/dist/cards/grid-product-card.mjs +1 -1
  31. package/dist/cards/product-card.cjs +1 -1
  32. package/dist/cards/product-card.mjs +1 -1
  33. package/dist/cards/simple-card.cjs +1 -1
  34. package/dist/cards/simple-card.d.mts +2 -2
  35. package/dist/cards/simple-card.mjs +1 -1
  36. package/dist/{checkbox-CgHaRkuU.mjs → checkbox-Cat3i08X.mjs} +1 -1
  37. package/dist/{checkbox-CgHaRkuU.mjs.map → checkbox-Cat3i08X.mjs.map} +1 -1
  38. package/dist/{checkbox-BwDvS4De.cjs → checkbox-Dsq-MSbH.cjs} +2 -2
  39. package/dist/{checkbox-BwDvS4De.cjs.map → checkbox-Dsq-MSbH.cjs.map} +1 -1
  40. package/dist/chunk-350yNsax.cjs +1 -0
  41. package/dist/{close-DrCUWZt0.cjs → close-Dlo1bI8x.cjs} +2 -2
  42. package/dist/{close-DrCUWZt0.cjs.map → close-Dlo1bI8x.cjs.map} +1 -1
  43. package/dist/{close-B7OOMSZl.mjs → close-_UHFeiLS.mjs} +1 -1
  44. package/dist/{close-B7OOMSZl.mjs.map → close-_UHFeiLS.mjs.map} +1 -1
  45. package/dist/cms-layout-BCH4NroR.cjs +2 -0
  46. package/dist/cms-layout-BCH4NroR.cjs.map +1 -0
  47. package/dist/cms-layout-DkCR1AfG.mjs +2 -0
  48. package/dist/cms-layout-DkCR1AfG.mjs.map +1 -0
  49. package/dist/{command-DiXzSGc8.cjs → command-CsP8a1Un.cjs} +2 -2
  50. package/dist/{command-DiXzSGc8.cjs.map → command-CsP8a1Un.cjs.map} +1 -1
  51. package/dist/{command-FnbrPZ7_.mjs → command-D6_CSbwJ.mjs} +2 -2
  52. package/dist/{command-FnbrPZ7_.mjs.map → command-D6_CSbwJ.mjs.map} +1 -1
  53. package/dist/data-display/country.cjs +1 -1
  54. package/dist/data-display/country.mjs +1 -1
  55. package/dist/data-display/data-list.cjs +1 -1
  56. package/dist/data-display/date-tooltip.cjs +1 -1
  57. package/dist/data-display/date-tooltip.mjs +1 -1
  58. package/dist/data-display/date.cjs +1 -1
  59. package/dist/data-display/date.mjs +1 -1
  60. package/dist/data-display/empty.cjs +1 -1
  61. package/dist/data-display/name.cjs +1 -1
  62. package/dist/data-display/name.mjs +1 -1
  63. package/dist/data-display/phone-number.cjs +1 -1
  64. package/dist/data-display/phone-number.mjs +1 -1
  65. package/dist/data-display/role-badge.cjs +1 -1
  66. package/dist/data-display/role-badge.mjs +1 -1
  67. package/dist/data-display/statistic.cjs +1 -1
  68. package/dist/data-display/statistic.d.cts +3 -3
  69. package/dist/data-display/statistic.d.mts +3 -3
  70. package/dist/data-display/statistic.mjs +1 -1
  71. package/dist/data-display/user.cjs +1 -1
  72. package/dist/data-display/user.mjs +1 -1
  73. package/dist/{date-DtajzNoy.cjs → date-D4NVl6C9.cjs} +2 -2
  74. package/dist/{date-DtajzNoy.cjs.map → date-D4NVl6C9.cjs.map} +1 -1
  75. package/dist/{date-CFgc7pK3.mjs → date-fY3sUcLp.mjs} +1 -1
  76. package/dist/{date-CFgc7pK3.mjs.map → date-fY3sUcLp.mjs.map} +1 -1
  77. package/dist/{dialog-D1sWnn6n.cjs → dialog-BigPrWIj.cjs} +2 -2
  78. package/dist/{dialog-D1sWnn6n.cjs.map → dialog-BigPrWIj.cjs.map} +1 -1
  79. package/dist/{dialog-EGFZeITu.mjs → dialog-CLDnvNH_.mjs} +2 -2
  80. package/dist/{dialog-EGFZeITu.mjs.map → dialog-CLDnvNH_.mjs.map} +1 -1
  81. package/dist/{dialog-BYzcewOe.d.cts → dialog-CsltUGHB.d.mts} +12 -12
  82. package/dist/{dialog-DYhbRnya.d.mts → dialog-D0zfwr8i.d.cts} +12 -12
  83. package/dist/dialogs/confirm-dialog.cjs +1 -1
  84. package/dist/dialogs/confirm-dialog.cjs.map +1 -1
  85. package/dist/dialogs/confirm-dialog.mjs +1 -1
  86. package/dist/dialogs/confirm-dialog.mjs.map +1 -1
  87. package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
  88. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +25 -25
  89. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +27 -27
  90. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
  91. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  92. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  93. package/dist/dialogs/error-dialog.cjs +1 -1
  94. package/dist/dialogs/error-dialog.mjs +1 -1
  95. package/dist/dialogs/loading-dialog.cjs +1 -1
  96. package/dist/dialogs/loading-dialog.mjs +1 -1
  97. package/dist/dist-Cx5ufCdr.cjs +2 -0
  98. package/dist/{dist-CAeolvAH.cjs.map → dist-Cx5ufCdr.cjs.map} +1 -1
  99. package/dist/dist-DVrfqn8H.mjs +2 -0
  100. package/dist/{dist-BQGL-YKY.mjs.map → dist-DVrfqn8H.mjs.map} +1 -1
  101. package/dist/{drawer-B6C8-Ndu.cjs → drawer-BB8BZzDG.cjs} +2 -2
  102. package/dist/{drawer-B6C8-Ndu.cjs.map → drawer-BB8BZzDG.cjs.map} +1 -1
  103. package/dist/{dropdown-menu-C6tRSumY.mjs → dropdown-menu-BWhiVsEf.mjs} +1 -1
  104. package/dist/{dropdown-menu-C6tRSumY.mjs.map → dropdown-menu-BWhiVsEf.mjs.map} +1 -1
  105. package/dist/{dropdown-menu-Bz7oMQ36.cjs → dropdown-menu-CVh520yG.cjs} +2 -2
  106. package/dist/{dropdown-menu-Bz7oMQ36.cjs.map → dropdown-menu-CVh520yG.cjs.map} +1 -1
  107. package/dist/features/descriptions/index.cjs +1 -1
  108. package/dist/features/descriptions/index.cjs.map +1 -1
  109. package/dist/features/descriptions/index.d.cts +3 -3
  110. package/dist/features/descriptions/index.d.mts +6 -6
  111. package/dist/features/descriptions/index.mjs +1 -1
  112. package/dist/features/descriptions/index.mjs.map +1 -1
  113. package/dist/features/search-modal/index.cjs +1 -1
  114. package/dist/features/search-modal/index.d.cts +2 -2
  115. package/dist/features/search-modal/index.d.mts +2 -2
  116. package/dist/features/search-modal/index.mjs +1 -1
  117. package/dist/features/tables/index.cjs +1 -1
  118. package/dist/features/tables/index.d.cts +2 -2
  119. package/dist/features/tables/index.d.mts +3 -3
  120. package/dist/features/tables/index.mjs +1 -1
  121. package/dist/features/tanstack-form/index.cjs +1 -1
  122. package/dist/features/tanstack-form/index.d.cts +2 -2
  123. package/dist/features/tanstack-form/index.d.mts +2 -2
  124. package/dist/features/tanstack-form/index.mjs +1 -1
  125. package/dist/features/text-editor/index.cjs +1 -1
  126. package/dist/features/text-editor/index.d.cts +1 -1
  127. package/dist/features/text-editor/index.d.mts +1 -1
  128. package/dist/features/text-editor/index.mjs +1 -1
  129. package/dist/{field-pfL7RWcN.cjs → field-BrlETeXX.cjs} +2 -2
  130. package/dist/{field-pfL7RWcN.cjs.map → field-BrlETeXX.cjs.map} +1 -1
  131. package/dist/{field-DhgAIueI.mjs → field-dYemS0hQ.mjs} +2 -2
  132. package/dist/{field-DhgAIueI.mjs.map → field-dYemS0hQ.mjs.map} +1 -1
  133. package/dist/{flex-BAcvp4lB.mjs → flex-B6YSJzGe.mjs} +1 -1
  134. package/dist/{flex-BAcvp4lB.mjs.map → flex-B6YSJzGe.mjs.map} +1 -1
  135. package/dist/{flex-DYh2t8ft.cjs → flex-DmWmOBn5.cjs} +2 -2
  136. package/dist/{flex-DYh2t8ft.cjs.map → flex-DmWmOBn5.cjs.map} +1 -1
  137. package/dist/{heading-woRh-IC7.mjs → heading-De4Pn3mZ.mjs} +1 -1
  138. package/dist/{heading-woRh-IC7.mjs.map → heading-De4Pn3mZ.mjs.map} +1 -1
  139. package/dist/{heading-wUXEbicM.cjs → heading-tGTqk3pA.cjs} +2 -2
  140. package/dist/{heading-wUXEbicM.cjs.map → heading-tGTqk3pA.cjs.map} +1 -1
  141. package/dist/image-D7OZ13Ib.mjs +2 -0
  142. package/dist/{image-D2U1SBw5.mjs.map → image-D7OZ13Ib.mjs.map} +1 -1
  143. package/dist/image-W_Yb0xTB.cjs +2 -0
  144. package/dist/{image-Y7gCz7uE.cjs.map → image-W_Yb0xTB.cjs.map} +1 -1
  145. package/dist/{index-DuRmheOp.d.cts → index-9eog5ilY.d.cts} +64 -32
  146. package/dist/{index-CEUx5VIo.d.mts → index-BuNzvvj3.d.mts} +64 -32
  147. package/dist/{index-DMSKIqbL.d.cts → index-CG8iS6qj.d.cts} +15 -15
  148. package/dist/index-Cm62M0Ft.d.mts +90 -0
  149. package/dist/{index-ByhKmerO.d.mts → index-DI8qmezw.d.mts} +15 -15
  150. package/dist/index-DsD83ZN8.d.cts +2348 -0
  151. package/dist/index-KO98y6L0.d.cts +90 -0
  152. package/dist/index-SMYnpHIM.d.mts +2348 -0
  153. package/dist/index.cjs +1 -1
  154. package/dist/index.d.cts +10 -10
  155. package/dist/index.d.mts +10 -10
  156. package/dist/index.mjs +1 -1
  157. package/dist/{input-DHt0MAKf.d.cts → input-BFtFMzRG.d.mts} +6 -6
  158. package/dist/{input-DLqmDeEo.d.mts → input-DvkEND5a.d.cts} +6 -6
  159. package/dist/{input-5gk-Jv1y.mjs → input-NJP2wQOm.mjs} +1 -1
  160. package/dist/{input-5gk-Jv1y.mjs.map → input-NJP2wQOm.mjs.map} +1 -1
  161. package/dist/{input-BvzsfAUc.cjs → input-WJ0DLHTR.cjs} +2 -2
  162. package/dist/{input-BvzsfAUc.cjs.map → input-WJ0DLHTR.cjs.map} +1 -1
  163. package/dist/{label-eIyGIRyw.cjs → label-CC6fXVbC.cjs} +2 -2
  164. package/dist/{label-eIyGIRyw.cjs.map → label-CC6fXVbC.cjs.map} +1 -1
  165. package/dist/{label-D9uNQ9b_.mjs → label-CUCpwS5D.mjs} +1 -1
  166. package/dist/{label-D9uNQ9b_.mjs.map → label-CUCpwS5D.mjs.map} +1 -1
  167. package/dist/layouts/cms-layout/index.cjs +1 -1
  168. package/dist/layouts/cms-layout/index.d.cts +2 -76
  169. package/dist/layouts/cms-layout/index.d.mts +2 -76
  170. package/dist/layouts/cms-layout/index.mjs +1 -1
  171. package/dist/layouts/flex.cjs +1 -1
  172. package/dist/layouts/flex.d.cts +8 -8
  173. package/dist/layouts/flex.d.mts +8 -8
  174. package/dist/layouts/flex.mjs +1 -1
  175. package/dist/layouts/grid.cjs +1 -1
  176. package/dist/layouts/payment-layout/index.cjs +1 -1
  177. package/dist/layouts/payment-layout/index.mjs +1 -1
  178. package/dist/pages/FeatureDeveloping.cjs +1 -1
  179. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  180. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  181. package/dist/pages/FeatureDeveloping.mjs +1 -1
  182. package/dist/pages/FeatureFixing.cjs +1 -1
  183. package/dist/pages/FeatureFixing.d.cts +2 -2
  184. package/dist/pages/FeatureFixing.mjs +1 -1
  185. package/dist/pages/LoginPage.cjs +1 -1
  186. package/dist/pages/LoginPage.cjs.map +1 -1
  187. package/dist/pages/LoginPage.d.cts +2 -2
  188. package/dist/pages/LoginPage.d.mts +2 -2
  189. package/dist/pages/LoginPage.mjs +1 -1
  190. package/dist/pages/LoginPage.mjs.map +1 -1
  191. package/dist/pages/NotAuthorized.cjs +1 -1
  192. package/dist/pages/NotAuthorized.d.cts +2 -2
  193. package/dist/pages/NotAuthorized.d.mts +2 -2
  194. package/dist/pages/NotAuthorized.mjs +1 -1
  195. package/dist/pages/NotFound.cjs +1 -1
  196. package/dist/pages/NotFound.d.cts +2 -2
  197. package/dist/pages/NotFound.d.mts +2 -2
  198. package/dist/pages/NotFound.mjs +1 -1
  199. package/dist/pages/RegisterPage.cjs +1 -1
  200. package/dist/pages/RegisterPage.cjs.map +1 -1
  201. package/dist/pages/RegisterPage.d.cts +2 -2
  202. package/dist/pages/RegisterPage.d.mts +2 -2
  203. package/dist/pages/RegisterPage.mjs +1 -1
  204. package/dist/pages/RegisterPage.mjs.map +1 -1
  205. package/dist/pages/VerifyEmailPage.cjs +1 -1
  206. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  207. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  208. package/dist/pages/VerifyEmailPage.mjs +1 -1
  209. package/dist/{paragraph-CjstaJFj.mjs → paragraph-DYLaQtTV.mjs} +1 -1
  210. package/dist/{paragraph-CjstaJFj.mjs.map → paragraph-DYLaQtTV.mjs.map} +1 -1
  211. package/dist/{paragraph-D-JHj7EP.cjs → paragraph-DvTZvbzw.cjs} +2 -2
  212. package/dist/{paragraph-D-JHj7EP.cjs.map → paragraph-DvTZvbzw.cjs.map} +1 -1
  213. package/dist/{payment-layout-_ZM4uBy_.mjs → payment-layout-DrQ0kZPX.mjs} +2 -2
  214. package/dist/{payment-layout-_ZM4uBy_.mjs.map → payment-layout-DrQ0kZPX.mjs.map} +1 -1
  215. package/dist/{payment-layout-fsYTkw3r.cjs → payment-layout-DyILfyVG.cjs} +2 -2
  216. package/dist/{payment-layout-fsYTkw3r.cjs.map → payment-layout-DyILfyVG.cjs.map} +1 -1
  217. package/dist/{popover-DwgdOX8a.mjs → popover-C8rcemA3.mjs} +2 -2
  218. package/dist/{popover-DwgdOX8a.mjs.map → popover-C8rcemA3.mjs.map} +1 -1
  219. package/dist/{popover-fsTCOb6a.cjs → popover-DBsC8Ltp.cjs} +2 -2
  220. package/dist/{popover-fsTCOb6a.cjs.map → popover-DBsC8Ltp.cjs.map} +1 -1
  221. package/dist/{progress-DCBKnTx0.mjs → progress-CLeM0e7Z.mjs} +1 -1
  222. package/dist/{progress-DCBKnTx0.mjs.map → progress-CLeM0e7Z.mjs.map} +1 -1
  223. package/dist/{progress-CDYA2V-W.cjs → progress-gvBqNiHp.cjs} +2 -2
  224. package/dist/{progress-CDYA2V-W.cjs.map → progress-gvBqNiHp.cjs.map} +1 -1
  225. package/dist/{radio-group-B-M599Ys.cjs → radio-group-_TdMkv8w.cjs} +2 -2
  226. package/dist/{radio-group-B-M599Ys.cjs.map → radio-group-_TdMkv8w.cjs.map} +1 -1
  227. package/dist/{resizable-DP1BQAF_.mjs → resizable-CpCaSCFB.mjs} +1 -1
  228. package/dist/{resizable-DP1BQAF_.mjs.map → resizable-CpCaSCFB.mjs.map} +1 -1
  229. package/dist/{resizable-DATSh0Du.cjs → resizable-sgpaHAb8.cjs} +2 -2
  230. package/dist/{resizable-DATSh0Du.cjs.map → resizable-sgpaHAb8.cjs.map} +1 -1
  231. package/dist/{search-modal-CYRJEDE-.cjs → search-modal-B-pzGcfP.cjs} +2 -2
  232. package/dist/{search-modal-CYRJEDE-.cjs.map → search-modal-B-pzGcfP.cjs.map} +1 -1
  233. package/dist/{search-modal-DWu08xkE.mjs → search-modal-Bn-GOOCy.mjs} +2 -2
  234. package/dist/{search-modal-DWu08xkE.mjs.map → search-modal-Bn-GOOCy.mjs.map} +1 -1
  235. package/dist/select-CWLQHh8x.cjs +2 -0
  236. package/dist/select-CWLQHh8x.cjs.map +1 -0
  237. package/dist/{select-BAlA65tZ.mjs → select-LlPCZFSF.mjs} +2 -2
  238. package/dist/select-LlPCZFSF.mjs.map +1 -0
  239. package/dist/{separator-C6s-YvlT.mjs → separator-D3Gmkxzq.mjs} +1 -1
  240. package/dist/{separator-C6s-YvlT.mjs.map → separator-D3Gmkxzq.mjs.map} +1 -1
  241. package/dist/{separator-CBup_ah1.cjs → separator-KuymG9g0.cjs} +2 -2
  242. package/dist/{separator-CBup_ah1.cjs.map → separator-KuymG9g0.cjs.map} +1 -1
  243. package/dist/{sheet-Cj8hoftE.mjs → sheet-BFlIfNaA.mjs} +1 -1
  244. package/dist/{sheet-Cj8hoftE.mjs.map → sheet-BFlIfNaA.mjs.map} +1 -1
  245. package/dist/{sheet-DAjZ-Q6Q.cjs → sheet-CvKSi0UC.cjs} +2 -2
  246. package/dist/{sheet-DAjZ-Q6Q.cjs.map → sheet-CvKSi0UC.cjs.map} +1 -1
  247. package/dist/{sidebar-RcmDh50_.mjs → sidebar-ChtCyu-n.mjs} +2 -2
  248. package/dist/{sidebar-RcmDh50_.mjs.map → sidebar-ChtCyu-n.mjs.map} +1 -1
  249. package/dist/{sidebar-Drasn0Bx.cjs → sidebar-D5J2gcTw.cjs} +2 -2
  250. package/dist/{sidebar-Drasn0Bx.cjs.map → sidebar-D5J2gcTw.cjs.map} +1 -1
  251. package/dist/{skeleton-DupQ91XW.mjs → skeleton-C51IdOfK.mjs} +1 -1
  252. package/dist/{skeleton-DupQ91XW.mjs.map → skeleton-C51IdOfK.mjs.map} +1 -1
  253. package/dist/{skeleton-CHympz8k.cjs → skeleton-CX1USu1w.cjs} +2 -2
  254. package/dist/{skeleton-CHympz8k.cjs.map → skeleton-CX1USu1w.cjs.map} +1 -1
  255. package/dist/{spinner-Bdta7BMp.cjs → spinner-CFxorYEt.cjs} +2 -2
  256. package/dist/{spinner-Bdta7BMp.cjs.map → spinner-CFxorYEt.cjs.map} +1 -1
  257. package/dist/{spinner-BCnPYF1H.mjs → spinner-eClTgHjk.mjs} +1 -1
  258. package/dist/{spinner-BCnPYF1H.mjs.map → spinner-eClTgHjk.mjs.map} +1 -1
  259. package/dist/{statistic-DDDm5Om1.cjs → statistic-DDXilD7q.cjs} +2 -2
  260. package/dist/{statistic-DDDm5Om1.cjs.map → statistic-DDXilD7q.cjs.map} +1 -1
  261. package/dist/{statistic-Cm4nbkjQ.mjs → statistic-cwLwcukn.mjs} +1 -1
  262. package/dist/{statistic-Cm4nbkjQ.mjs.map → statistic-cwLwcukn.mjs.map} +1 -1
  263. package/dist/{switch-Dbc77c_D.cjs → switch-DVfOV7wP.cjs} +2 -2
  264. package/dist/{switch-Dbc77c_D.cjs.map → switch-DVfOV7wP.cjs.map} +1 -1
  265. package/dist/systems/google.cjs +1 -1
  266. package/dist/tables-CFrsk2lM.mjs +4 -0
  267. package/dist/tables-CFrsk2lM.mjs.map +1 -0
  268. package/dist/tables-CPKHe3k-.cjs +4 -0
  269. package/dist/tables-CPKHe3k-.cjs.map +1 -0
  270. package/dist/tanstack-form-DT1TqIDl.mjs +12 -0
  271. package/dist/tanstack-form-DT1TqIDl.mjs.map +1 -0
  272. package/dist/tanstack-form-DatI41wz.cjs +12 -0
  273. package/dist/tanstack-form-DatI41wz.cjs.map +1 -0
  274. package/dist/text-editor-5mA7XyaI.mjs +2 -0
  275. package/dist/text-editor-5mA7XyaI.mjs.map +1 -0
  276. package/dist/text-editor-CvJN3nSL.cjs +2 -0
  277. package/dist/text-editor-CvJN3nSL.cjs.map +1 -0
  278. package/dist/{textarea-Byo8E8oi.cjs → textarea-Cc9CF8wD.cjs} +2 -2
  279. package/dist/{textarea-Byo8E8oi.cjs.map → textarea-Cc9CF8wD.cjs.map} +1 -1
  280. package/dist/{tooltip-DC6i1A25.cjs → tooltip-CBdoIzoM.cjs} +2 -2
  281. package/dist/{tooltip-DC6i1A25.cjs.map → tooltip-CBdoIzoM.cjs.map} +1 -1
  282. package/dist/{tooltip-BfBJRYpc.mjs → tooltip-Dxl5Wa8i.mjs} +1 -1
  283. package/dist/{tooltip-BfBJRYpc.mjs.map → tooltip-Dxl5Wa8i.mjs.map} +1 -1
  284. package/dist/{types-CFXgrpTm.mjs → types-B5nyTWtO.mjs} +1 -1
  285. package/dist/{types-CFXgrpTm.mjs.map → types-B5nyTWtO.mjs.map} +1 -1
  286. package/dist/typography/paragraph.cjs +1 -1
  287. package/dist/typography/paragraph.d.cts +4 -4
  288. package/dist/typography/paragraph.d.mts +4 -4
  289. package/dist/typography/paragraph.mjs +1 -1
  290. package/dist/typography/title.cjs +1 -1
  291. package/dist/ui/alert-dialog.cjs +1 -1
  292. package/dist/ui/alert-dialog.d.cts +12 -12
  293. package/dist/ui/alert-dialog.d.mts +12 -12
  294. package/dist/ui/alert-dialog.mjs +1 -1
  295. package/dist/ui/alert.cjs +1 -1
  296. package/dist/ui/alert.d.cts +1 -1
  297. package/dist/ui/alert.d.mts +1 -1
  298. package/dist/ui/aspect-ratio.cjs +1 -1
  299. package/dist/ui/aspect-ratio.d.cts +2 -2
  300. package/dist/ui/aspect-ratio.d.mts +2 -2
  301. package/dist/ui/avatar.cjs +1 -1
  302. package/dist/ui/avatar.d.cts +4 -4
  303. package/dist/ui/avatar.d.mts +4 -4
  304. package/dist/ui/avatar.mjs +1 -1
  305. package/dist/ui/badge.cjs +1 -1
  306. package/dist/ui/badge.d.cts +1 -1
  307. package/dist/ui/badge.d.mts +1 -1
  308. package/dist/ui/badge.mjs +1 -1
  309. package/dist/ui/breadcrumb.cjs +1 -1
  310. package/dist/ui/breadcrumb.d.cts +8 -8
  311. package/dist/ui/breadcrumb.d.mts +8 -8
  312. package/dist/ui/breadcrumb.mjs +1 -1
  313. package/dist/ui/button-group.cjs +1 -1
  314. package/dist/ui/button-group.d.cts +7 -7
  315. package/dist/ui/button-group.d.mts +7 -7
  316. package/dist/ui/button-group.mjs +1 -1
  317. package/dist/ui/button.cjs +1 -1
  318. package/dist/ui/button.d.cts +1 -1
  319. package/dist/ui/button.d.mts +1 -1
  320. package/dist/ui/button.mjs +1 -1
  321. package/dist/ui/buttons/add-new.cjs +1 -1
  322. package/dist/ui/buttons/add-new.mjs +1 -1
  323. package/dist/ui/buttons/edit.cjs +1 -1
  324. package/dist/ui/buttons/edit.mjs +1 -1
  325. package/dist/ui/buttons/refresh.cjs +1 -1
  326. package/dist/ui/buttons/refresh.mjs +1 -1
  327. package/dist/ui/buttons/trash.cjs +1 -1
  328. package/dist/ui/buttons/trash.mjs +1 -1
  329. package/dist/ui/buttons/upload-image.cjs +1 -1
  330. package/dist/ui/buttons/upload-image.mjs +1 -1
  331. package/dist/ui/calendar.cjs +1 -1
  332. package/dist/ui/calendar.d.cts +4 -4
  333. package/dist/ui/calendar.d.mts +4 -4
  334. package/dist/ui/calendar.mjs +1 -1
  335. package/dist/ui/card.cjs +1 -1
  336. package/dist/ui/card.d.cts +8 -8
  337. package/dist/ui/card.d.mts +8 -8
  338. package/dist/ui/card.mjs +1 -1
  339. package/dist/ui/carousel.cjs +1 -1
  340. package/dist/ui/carousel.d.cts +7 -7
  341. package/dist/ui/carousel.d.mts +7 -7
  342. package/dist/ui/carousel.mjs +1 -1
  343. package/dist/ui/checkbox.cjs +1 -1
  344. package/dist/ui/checkbox.d.cts +2 -2
  345. package/dist/ui/checkbox.d.mts +2 -2
  346. package/dist/ui/checkbox.mjs +1 -1
  347. package/dist/ui/collapsible.cjs +1 -1
  348. package/dist/ui/collapsible.d.cts +4 -4
  349. package/dist/ui/collapsible.d.mts +4 -4
  350. package/dist/ui/command.cjs +1 -1
  351. package/dist/ui/command.d.cts +11 -11
  352. package/dist/ui/command.d.mts +11 -11
  353. package/dist/ui/command.mjs +1 -1
  354. package/dist/ui/context-menu.cjs +1 -1
  355. package/dist/ui/context-menu.d.cts +16 -16
  356. package/dist/ui/context-menu.d.mts +16 -16
  357. package/dist/ui/dialog.cjs +1 -1
  358. package/dist/ui/dialog.d.cts +1 -1
  359. package/dist/ui/dialog.d.mts +1 -1
  360. package/dist/ui/dialog.mjs +1 -1
  361. package/dist/ui/drawer.cjs +1 -1
  362. package/dist/ui/drawer.d.cts +11 -11
  363. package/dist/ui/drawer.d.mts +11 -11
  364. package/dist/ui/dropdown-menu.cjs +1 -1
  365. package/dist/ui/dropdown-menu.d.cts +16 -16
  366. package/dist/ui/dropdown-menu.d.mts +16 -16
  367. package/dist/ui/dropdown-menu.mjs +1 -1
  368. package/dist/ui/empty.cjs +1 -1
  369. package/dist/ui/empty.d.cts +9 -9
  370. package/dist/ui/empty.d.mts +9 -9
  371. package/dist/ui/field.cjs +1 -1
  372. package/dist/ui/field.d.cts +24 -24
  373. package/dist/ui/field.d.mts +24 -24
  374. package/dist/ui/field.mjs +1 -1
  375. package/dist/ui/file-uploader.cjs +1 -1
  376. package/dist/ui/file-uploader.d.cts +2 -2
  377. package/dist/ui/file-uploader.mjs +1 -1
  378. package/dist/ui/form.cjs +1 -1
  379. package/dist/ui/form.d.cts +10 -10
  380. package/dist/ui/form.d.mts +10 -10
  381. package/dist/ui/form.mjs +1 -1
  382. package/dist/ui/hover-card.cjs +1 -1
  383. package/dist/ui/hover-card.d.cts +4 -4
  384. package/dist/ui/hover-card.d.mts +4 -4
  385. package/dist/ui/image.cjs +1 -1
  386. package/dist/ui/image.mjs +1 -1
  387. package/dist/ui/input-otp.cjs +1 -1
  388. package/dist/ui/input-otp.d.cts +5 -5
  389. package/dist/ui/input-otp.d.mts +5 -5
  390. package/dist/ui/input.cjs +1 -1
  391. package/dist/ui/input.d.cts +1 -1
  392. package/dist/ui/input.d.mts +1 -1
  393. package/dist/ui/input.mjs +1 -1
  394. package/dist/ui/inputs/search-input.cjs +1 -1
  395. package/dist/ui/inputs/search-input.d.cts +3 -3
  396. package/dist/ui/inputs/search-input.d.mts +3 -3
  397. package/dist/ui/inputs/search-input.mjs +1 -1
  398. package/dist/ui/item.cjs +1 -1
  399. package/dist/ui/item.d.cts +16 -16
  400. package/dist/ui/item.d.mts +16 -16
  401. package/dist/ui/item.mjs +1 -1
  402. package/dist/ui/label.cjs +1 -1
  403. package/dist/ui/label.d.cts +2 -2
  404. package/dist/ui/label.d.mts +2 -2
  405. package/dist/ui/label.mjs +1 -1
  406. package/dist/ui/menubar.cjs +1 -1
  407. package/dist/ui/menubar.d.cts +17 -17
  408. package/dist/ui/menubar.d.mts +17 -17
  409. package/dist/ui/multi-select.cjs +1 -1
  410. package/dist/ui/multi-select.d.cts +2 -2
  411. package/dist/ui/multi-select.d.mts +3 -3
  412. package/dist/ui/multi-select.mjs +1 -1
  413. package/dist/ui/navigation-menu.cjs +1 -1
  414. package/dist/ui/navigation-menu.d.cts +11 -11
  415. package/dist/ui/navigation-menu.d.mts +11 -11
  416. package/dist/ui/pagination.cjs +1 -1
  417. package/dist/ui/pagination.d.cts +9 -9
  418. package/dist/ui/pagination.d.mts +9 -9
  419. package/dist/ui/pagination.mjs +1 -1
  420. package/dist/ui/popover.cjs +1 -1
  421. package/dist/ui/popover.d.cts +6 -6
  422. package/dist/ui/popover.d.mts +6 -6
  423. package/dist/ui/popover.mjs +1 -1
  424. package/dist/ui/progress.cjs +1 -1
  425. package/dist/ui/progress.d.cts +2 -2
  426. package/dist/ui/progress.d.mts +2 -2
  427. package/dist/ui/progress.mjs +1 -1
  428. package/dist/ui/radio-group.cjs +1 -1
  429. package/dist/ui/radio-group.d.cts +3 -3
  430. package/dist/ui/radio-group.d.mts +3 -3
  431. package/dist/ui/resizable.cjs +1 -1
  432. package/dist/ui/resizable.d.cts +9 -9
  433. package/dist/ui/resizable.d.mts +9 -9
  434. package/dist/ui/resizable.mjs +1 -1
  435. package/dist/ui/scroll-area.cjs +1 -1
  436. package/dist/ui/scroll-area.d.cts +5 -5
  437. package/dist/ui/scroll-area.d.mts +5 -5
  438. package/dist/ui/select.cjs +1 -1
  439. package/dist/ui/select.d.cts +9 -9
  440. package/dist/ui/select.d.mts +9 -9
  441. package/dist/ui/select.mjs +1 -1
  442. package/dist/ui/separator.cjs +1 -1
  443. package/dist/ui/separator.d.cts +2 -2
  444. package/dist/ui/separator.d.mts +2 -2
  445. package/dist/ui/separator.mjs +1 -1
  446. package/dist/ui/sheet.cjs +1 -1
  447. package/dist/ui/sheet.d.cts +9 -9
  448. package/dist/ui/sheet.d.mts +9 -9
  449. package/dist/ui/sheet.mjs +1 -1
  450. package/dist/ui/skeleton.cjs +1 -1
  451. package/dist/ui/skeleton.d.cts +2 -2
  452. package/dist/ui/skeleton.d.mts +2 -2
  453. package/dist/ui/skeleton.mjs +1 -1
  454. package/dist/ui/slider.cjs +1 -1
  455. package/dist/ui/slider.d.cts +2 -2
  456. package/dist/ui/slider.d.mts +2 -2
  457. package/dist/ui/sonner.cjs +1 -1
  458. package/dist/ui/sonner.cjs.map +1 -1
  459. package/dist/ui/sonner.d.cts +2 -2
  460. package/dist/ui/sonner.d.mts +2 -2
  461. package/dist/ui/sonner.mjs +1 -1
  462. package/dist/ui/sonner.mjs.map +1 -1
  463. package/dist/ui/spinner.cjs +1 -1
  464. package/dist/ui/spinner.d.cts +2 -2
  465. package/dist/ui/spinner.d.mts +2 -2
  466. package/dist/ui/spinner.mjs +1 -1
  467. package/dist/ui/switch.cjs +1 -1
  468. package/dist/ui/switch.d.cts +2 -2
  469. package/dist/ui/switch.d.mts +2 -2
  470. package/dist/ui/table.cjs +1 -1
  471. package/dist/ui/table.d.cts +17 -17
  472. package/dist/ui/table.d.mts +17 -17
  473. package/dist/ui/tabs.cjs +1 -1
  474. package/dist/ui/tabs.d.cts +5 -5
  475. package/dist/ui/tabs.d.mts +5 -5
  476. package/dist/ui/textarea.cjs +1 -1
  477. package/dist/ui/textarea.d.cts +2 -2
  478. package/dist/ui/textarea.d.mts +2 -2
  479. package/dist/ui/toggle-group.cjs +1 -1
  480. package/dist/ui/toggle-group.d.cts +3 -3
  481. package/dist/ui/toggle-group.d.mts +3 -3
  482. package/dist/ui/toggle.cjs +1 -1
  483. package/dist/ui/toggle.d.cts +5 -5
  484. package/dist/ui/toggle.d.mts +5 -5
  485. package/dist/ui/tooltip.cjs +1 -1
  486. package/dist/ui/tooltip.d.cts +5 -5
  487. package/dist/ui/tooltip.d.mts +5 -5
  488. package/dist/ui/tooltip.mjs +1 -1
  489. package/dist/{user-D8Skw8dI.mjs → user-DtZy4P9d.mjs} +2 -2
  490. package/dist/{user-D8Skw8dI.mjs.map → user-DtZy4P9d.mjs.map} +1 -1
  491. package/dist/{user-Dns1BKaT.cjs → user-ii4FBhO1.cjs} +2 -2
  492. package/dist/{user-Dns1BKaT.cjs.map → user-ii4FBhO1.cjs.map} +1 -1
  493. package/package.json +20 -5
  494. package/styles/spacing.css +186 -0
  495. package/dist/button-Bu4ejNOW.cjs.map +0 -1
  496. package/dist/button-CfPTDyoq.mjs +0 -2
  497. package/dist/button-CfPTDyoq.mjs.map +0 -1
  498. package/dist/chunk-Bmb41Sf3.cjs +0 -1
  499. package/dist/cms-layout-BrubV8D8.cjs +0 -2
  500. package/dist/cms-layout-BrubV8D8.cjs.map +0 -1
  501. package/dist/cms-layout-C2-yysO2.mjs +0 -2
  502. package/dist/cms-layout-C2-yysO2.mjs.map +0 -1
  503. package/dist/dist-BQGL-YKY.mjs +0 -2
  504. package/dist/dist-CAeolvAH.cjs +0 -2
  505. package/dist/image-D2U1SBw5.mjs +0 -2
  506. package/dist/image-Y7gCz7uE.cjs +0 -2
  507. package/dist/index-CL3z9hOc.d.cts +0 -2749
  508. package/dist/index-CuvfEKgg.d.mts +0 -2749
  509. package/dist/select-BAlA65tZ.mjs.map +0 -1
  510. package/dist/select-Cib2aiw5.cjs +0 -2
  511. package/dist/select-Cib2aiw5.cjs.map +0 -1
  512. package/dist/tables-B3Ald6An.cjs +0 -4
  513. package/dist/tables-B3Ald6An.cjs.map +0 -1
  514. package/dist/tables-C3asiSD4.mjs +0 -4
  515. package/dist/tables-C3asiSD4.mjs.map +0 -1
  516. package/dist/tanstack-form-CYcb_gLQ.cjs +0 -2
  517. package/dist/tanstack-form-CYcb_gLQ.cjs.map +0 -1
  518. package/dist/tanstack-form-DQFyDxOg.mjs +0 -2
  519. package/dist/tanstack-form-DQFyDxOg.mjs.map +0 -1
  520. package/dist/text-editor-DqyiYNen.cjs +0 -2
  521. package/dist/text-editor-DqyiYNen.cjs.map +0 -1
  522. package/dist/text-editor-HGUUElOS.mjs +0 -2
  523. package/dist/text-editor-HGUUElOS.mjs.map +0 -1
@@ -1,2749 +0,0 @@
1
- import * as react642 from "react";
2
- import * as class_variance_authority_types23 from "class-variance-authority/types";
3
- import * as class_variance_authority0 from "class-variance-authority";
4
- import { VariantProps } from "class-variance-authority";
5
- import { Label } from "radix-ui";
6
- import * as _tanstack_form_core0 from "@tanstack/form-core";
7
- import * as _tanstack_react_form0 from "@tanstack/react-form";
8
-
9
- //#region packages/components/features/tanstack-form/components/ui/label.d.ts
10
- /**
11
- * Form field label that automatically renders a "Required" badge when the field is marked aria-required.
12
- *
13
- * @example
14
- * import { Label } from '@customafk/lunas-ui/features/tanstack-form';
15
- *
16
- * <Label htmlFor="email">Email address</Label>
17
- */
18
- declare function Label$1({
19
- className,
20
- children,
21
- ...props
22
- }: React.ComponentProps<typeof Label.Root>): react642.JSX.Element;
23
- //#endregion
24
- //#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
25
- type ArrayColProps = {
26
- /**
27
- * Fixed column width as a pixel number (e.g. `96`) or any CSS string
28
- * (e.g. `'8rem'`, `'20%'`). Omit to let the column expand and fill the
29
- * remaining row space (`flex: 1`).
30
- */
31
- width?: number | string;
32
- className?: string;
33
- children: React.ReactNode;
34
- };
35
- /**
36
- * Layout helper for columns inside a `SimpleArrayField` row. Controls width
37
- * without repeating `<div className="w-24">` or `<div className="flex-1">`.
38
- *
39
- * @example
40
- * <SimpleArrayField defaultRow={...}>
41
- * {i => (
42
- * <>
43
- * <ArrayCol> // flex-1 — takes remaining space
44
- * <AppField name={`items[${i}].name`}>...</AppField>
45
- * </ArrayCol>
46
- * <ArrayCol width={96}> // 96 px fixed
47
- * <AppField name={`items[${i}].qty`}>...</AppField>
48
- * </ArrayCol>
49
- * <ArrayCol width="8rem"> // CSS string
50
- * <AppField name={`items[${i}].tax`}>...</AppField>
51
- * </ArrayCol>
52
- * </>
53
- * )}
54
- * </SimpleArrayField>
55
- */
56
- declare function ArrayCol({
57
- width,
58
- className,
59
- children
60
- }: ArrayColProps): react642.JSX.Element;
61
- type ArrayHeaderRowProps = {
62
- className?: string;
63
- children: React.ReactNode;
64
- };
65
- /**
66
- * Styled header row for a `SimpleArrayField` table. Place it directly above
67
- * `<SimpleArrayField>` and use `<ArrayCol>` children with text labels to align
68
- * headers with their columns. A spacer matching the delete-button width is
69
- * appended automatically.
70
- *
71
- * @example
72
- * <ArrayHeaderRow>
73
- * <ArrayCol>Name</ArrayCol>
74
- * <ArrayCol width={96}>Price</ArrayCol>
75
- * <ArrayCol width={80}>Qty</ArrayCol>
76
- * </ArrayHeaderRow>
77
- * <SimpleArrayField defaultRow={...}>
78
- * {i => (...)}
79
- * </SimpleArrayField>
80
- */
81
- declare function ArrayHeaderRow({
82
- className,
83
- children
84
- }: ArrayHeaderRowProps): react642.JSX.Element;
85
- type Props<T> = {
86
- /**
87
- * Shape of a brand-new empty row appended when the user clicks "Add row".
88
- */
89
- defaultRow: T;
90
- /**
91
- * Render function called once per row. Receives the zero-based row `index`
92
- * so you can build field paths like `` `items[${index}].name` ``.
93
- */
94
- children: (index: number) => React.ReactNode;
95
- /** Label on the add button. Defaults to `'Add row'`. */
96
- addLabel?: string;
97
- className?: string;
98
- };
99
- /**
100
- * Array field wrapper that manages rows (add / remove) while letting you
101
- * freely compose any fields inside each row.
102
- *
103
- * @example
104
- * const { AppForm, AppField } = useTanStackForm({ defaultValues: { items: [] } });
105
- *
106
- * <AppForm>
107
- * <AppField name="items">
108
- * {({ SimpleArrayField }) => (
109
- * <SimpleArrayField defaultRow={{ name: null, qty: null }}>
110
- * {(i) => (
111
- * <div className="flex gap-2">
112
- * <AppField name={`items[${i}].name`}>
113
- * {({ SimpleTextField }) => <SimpleTextField label="Name" />}
114
- * </AppField>
115
- * <AppField name={`items[${i}].qty`}>
116
- * {({ SimpleNumberField }) => <SimpleNumberField label="Qty" />}
117
- * </AppField>
118
- * </div>
119
- * )}
120
- * </SimpleArrayField>
121
- * )}
122
- * </AppField>
123
- * </AppForm>
124
- */
125
- declare function SimpleArrayField<T>({
126
- defaultRow,
127
- children,
128
- addLabel,
129
- className
130
- }: Props<T>): react642.JSX.Element;
131
- //#endregion
132
- //#region packages/components/features/tanstack-form/components/ui/field.d.ts
133
- declare const fieldVariants: (props?: ({
134
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
135
- } & class_variance_authority_types23.ClassProp) | undefined) => string;
136
- /**
137
- * Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
138
- *
139
- * @example
140
- * import { FieldSet } from '@customafk/lunas-ui/features/tanstack-form';
141
- *
142
- * <FieldSet>
143
- * <Field><FieldLabel>Name</FieldLabel><FieldContent><input /></FieldContent></Field>
144
- * </FieldSet>
145
- */
146
-
147
- /**
148
- * Container `<div>` that groups a set of `Field` rows with container-query support for responsive layouts.
149
- *
150
- * @example
151
- * import { FieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
152
- *
153
- * <FieldGroup>
154
- * <Field>…</Field>
155
- * <Field>…</Field>
156
- * </FieldGroup>
157
- */
158
- declare const FieldGroup: react642.MemoExoticComponent<({
159
- className,
160
- ...props
161
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
162
- /**
163
- * Single form field row that arranges label, input, and meta elements with configurable orientation.
164
- *
165
- * @example
166
- * import { Field } from '@customafk/lunas-ui/features/tanstack-form';
167
- *
168
- * <Field orientation="horizontal">
169
- * <FieldLabel htmlFor="username">Username</FieldLabel>
170
- * <FieldContent><input id="username" /></FieldContent>
171
- * </Field>
172
- */
173
- declare const Field: react642.MemoExoticComponent<({
174
- className,
175
- orientation,
176
- ...props
177
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react642.JSX.Element>;
178
- /**
179
- * Flex column wrapper that houses the primary input control together with description and error slots.
180
- *
181
- * @example
182
- * import { FieldContent } from '@customafk/lunas-ui/features/tanstack-form';
183
- *
184
- * <FieldContent>
185
- * <input type="text" />
186
- * <FieldDescription>Enter your full name.</FieldDescription>
187
- * </FieldContent>
188
- */
189
- declare const FieldContent: react642.MemoExoticComponent<({
190
- className,
191
- ...props
192
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
193
- /**
194
- * Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
195
- *
196
- * @example
197
- * import { FieldContentMain } from '@customafk/lunas-ui/features/tanstack-form';
198
- *
199
- * <FieldContentMain>
200
- * <input type="text" className="pr-8" />
201
- * <SearchIcon className="absolute right-2 top-2" />
202
- * </FieldContentMain>
203
- */
204
- declare const FieldContentMain: react642.MemoExoticComponent<({
205
- className,
206
- ...props
207
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
208
- /**
209
- * Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
210
- *
211
- * @example
212
- * import { FieldLabel } from '@customafk/lunas-ui/features/tanstack-form';
213
- *
214
- * <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
215
- */
216
- declare const FieldLabel: react642.MemoExoticComponent<({
217
- className,
218
- ...props
219
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
220
- /**
221
- * Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
222
- *
223
- * @example
224
- * import { FieldTitle } from '@customafk/lunas-ui/features/tanstack-form';
225
- *
226
- * <FieldTitle>Notification preferences</FieldTitle>
227
- */
228
-
229
- /**
230
- * Visual divider row that optionally displays a centered text label, used to separate logical sections within a `FieldGroup`.
231
- *
232
- * @example
233
- * import { FieldSeparator } from '@customafk/lunas-ui/features/tanstack-form';
234
- *
235
- * <FieldSeparator>or</FieldSeparator>
236
- */
237
- declare const FieldSeparator: react642.MemoExoticComponent<({
238
- children,
239
- className,
240
- ...props
241
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
242
- /**
243
- * Props for {@link FieldError}.
244
- */
245
- type FieldErrorProps = React.ComponentProps<'div'> & {
246
- /**
247
- * Array of validation error objects, typically sourced from a form library's field-level error state.
248
- * Each entry may carry an optional `code` (e.g. `'invalid_type'`) and a human-readable `message`.
249
- * Rendered automatically when `children` is omitted.
250
- */
251
- errors?: Array<{
252
- code?: string;
253
- message?: string;
254
- } | undefined>;
255
- };
256
- /**
257
- * ARIA-live error region that renders field validation messages from either an explicit `errors` array or arbitrary `children`.
258
- *
259
- * @example
260
- * import { FieldError } from '@customafk/lunas-ui/features/tanstack-form';
261
- *
262
- * <FieldError errors={field.state.meta.errors} />
263
- */
264
- declare const FieldError: react642.MemoExoticComponent<({
265
- className,
266
- children,
267
- errors,
268
- ...props
269
- }: FieldErrorProps) => react642.JSX.Element | null>;
270
- //#endregion
271
- //#region packages/components/features/tanstack-form/tanstack-form.d.ts
272
- declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.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: () => _tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
273
- /**
274
- * Factory result from {@link createFormHook} pre-wired with all Lunas UI field and form components.
275
- *
276
- * ### `useTanStackForm`
277
- * Pre-configured TanStack Form hook that returns a type-safe form instance bound to all Lunas UI
278
- * field and form components.
279
- *
280
- * @example
281
- * import { useTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
282
- *
283
- * const form = useTanStackForm({
284
- * defaultValues: { name: '', email: '' },
285
- * onSubmit: async ({ value }) => console.log(value),
286
- * });
287
- *
288
- * return (
289
- * <form.Provider>
290
- * <form.AppForm>
291
- * <form.AppField name="name" children={(field) => <field.TextField label="Name" />} />
292
- * <form.Subscribe selector={(s) => s.canSubmit}>
293
- * {(canSubmit) => <form.TanStackActionSubmit disabled={!canSubmit} />}
294
- * </form.Subscribe>
295
- * </form.AppForm>
296
- * </form.Provider>
297
- * );
298
- *
299
- * ### `withTanStackForm`
300
- * Higher-order component that wraps a sub-form component with access to the parent
301
- * `useTanStackForm` form context, enabling isolated field groups that still participate in the
302
- * top-level form state.
303
- *
304
- * @example
305
- * import { withTanStackForm } from '@customafk/lunas-ui/features/tanstack-form';
306
- *
307
- * const AddressFields = withTanStackForm(
308
- * { street: '', city: '' } as const,
309
- * ({ form }) => (
310
- * <>
311
- * <form.AppField name="street" children={(f) => <f.TextField label="Street" />} />
312
- * <form.AppField name="city" children={(f) => <f.TextField label="City" />} />
313
- * </>
314
- * ),
315
- * );
316
- *
317
- * ### `withTanStackFieldGroup`
318
- * Higher-order component that creates a reusable field-group component sharing the enclosing
319
- * `useTanStackForm` context without requiring additional form providers.
320
- *
321
- * @example
322
- * import { withTanStackFieldGroup } from '@customafk/lunas-ui/features/tanstack-form';
323
- *
324
- * const ContactGroup = withTanStackFieldGroup(({ form }) => (
325
- * <form.AppField name="phone" children={(f) => <f.TextField label="Phone" />} />
326
- * ));
327
- */
328
- declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
329
- readonly TextField: react642.FC<Pick<{
330
- label: string;
331
- name: string;
332
- camelCaseName: string;
333
- id: string;
334
- type: "text-field";
335
- dataType?: "text" | "url" | "email" | "password" | undefined;
336
- rules?: {
337
- required?: boolean | undefined;
338
- maxLength?: number | undefined;
339
- minLength?: number | undefined;
340
- exactLength?: number | undefined;
341
- } | undefined;
342
- visibilityConditions?: {
343
- when: string;
344
- is: any;
345
- show?: boolean | undefined;
346
- } | undefined;
347
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
348
- tooltip?: string | undefined;
349
- helperText?: string | undefined;
350
- showErrorMessage?: boolean | undefined;
351
- counter?: boolean | undefined;
352
- showClearButton?: boolean | undefined;
353
- description?: string | undefined;
354
- placeholder?: string | undefined;
355
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
356
- required?: boolean;
357
- maxLength?: number;
358
- }>;
359
- readonly TextareaField: react642.FC<Pick<{
360
- label: string;
361
- name: string;
362
- camelCaseName: string;
363
- id: string;
364
- type: "textarea-field";
365
- rules?: {
366
- required?: boolean | undefined;
367
- maxLength?: number | undefined;
368
- minLength?: number | undefined;
369
- exactLength?: number | undefined;
370
- } | undefined;
371
- visibilityConditions?: {
372
- when: string;
373
- is: any;
374
- show?: boolean | undefined;
375
- } | undefined;
376
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
377
- tooltip?: string | undefined;
378
- helperText?: string | undefined;
379
- showErrorMessage?: boolean | undefined;
380
- counter?: boolean | undefined;
381
- description?: string | undefined;
382
- placeholder?: string | undefined;
383
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
384
- required?: boolean;
385
- maxLength?: number;
386
- }>;
387
- readonly TextEditorField: react642.FC<Pick<{
388
- label: string;
389
- name: string;
390
- camelCaseName: string;
391
- id: string;
392
- type: "text-editor-field";
393
- tooltip?: string | undefined;
394
- helperText?: string | undefined;
395
- showErrorMessage?: boolean | undefined;
396
- rules?: {
397
- required?: boolean | undefined;
398
- } | undefined;
399
- description?: string | undefined;
400
- placeholder?: string | undefined;
401
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
402
- required?: boolean;
403
- }>;
404
- readonly NumberField: react642.FC<Pick<{
405
- label: string;
406
- name: string;
407
- camelCaseName: string;
408
- id: string;
409
- type: "number-field";
410
- rules?: {
411
- required?: boolean | undefined;
412
- min?: {
413
- value: number;
414
- inclusive?: boolean | undefined;
415
- } | undefined;
416
- max?: {
417
- value: number;
418
- inclusive?: boolean | undefined;
419
- } | undefined;
420
- integerOnly?: boolean | undefined;
421
- positiveOnly?: boolean | undefined;
422
- exactDigits?: number | undefined;
423
- } | undefined;
424
- visibilityConditions?: {
425
- when: string;
426
- is: any;
427
- show?: boolean | undefined;
428
- } | undefined;
429
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
430
- tooltip?: string | undefined;
431
- helperText?: string | undefined;
432
- showErrorMessage?: boolean | undefined;
433
- defaultValue?: number | undefined;
434
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
435
- decimalPlaces?: number | undefined;
436
- percision?: number | undefined;
437
- unit?: string | undefined;
438
- description?: string | undefined;
439
- placeholder?: string | undefined;
440
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
441
- required?: boolean;
442
- allowNegative?: boolean;
443
- }>;
444
- readonly EmailField: react642.FC<Pick<{
445
- rules: {
446
- maxLength?: number | undefined;
447
- minLength?: number | undefined;
448
- };
449
- label: string;
450
- name: string;
451
- camelCaseName: string;
452
- id: string;
453
- type: "email-field";
454
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
455
- tooltip?: string | undefined;
456
- helperText?: string | undefined;
457
- showErrorMessage?: boolean | undefined;
458
- description?: string | undefined;
459
- placeholder?: string | undefined;
460
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
461
- required?: boolean;
462
- maxLength?: number;
463
- }>;
464
- readonly PasswordField: react642.FC<{
465
- description?: string | undefined;
466
- label: string;
467
- placeholder?: string | undefined;
468
- tooltip?: string | undefined;
469
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
470
- helperText?: string | undefined;
471
- showErrorMessage?: boolean | undefined;
472
- }>;
473
- readonly SelectField: react642.FC<Pick<{
474
- options: {
475
- label: string;
476
- value: string;
477
- }[];
478
- label: string;
479
- name: string;
480
- camelCaseName: string;
481
- id: string;
482
- type: "select-field";
483
- clearable?: boolean | undefined;
484
- rules?: {
485
- required?: boolean | undefined;
486
- } | undefined;
487
- visibilityConditions?: {
488
- when: string;
489
- is: any;
490
- show?: boolean | undefined;
491
- } | undefined;
492
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
493
- tooltip?: string | undefined;
494
- helperText?: string | undefined;
495
- defaultValue?: string | undefined;
496
- description?: string | undefined;
497
- placeholder?: string | undefined;
498
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
499
- required?: boolean;
500
- }>;
501
- readonly ComboboxField: react642.FC<{
502
- label: string;
503
- description?: string;
504
- placeholder?: string;
505
- tooltip?: string;
506
- orientation?: "horizontal" | "vertical" | "responsive";
507
- options: Array<{
508
- value: string;
509
- label: string;
510
- }>;
511
- }>;
512
- readonly DateField: react642.FC<Pick<{
513
- label: string;
514
- name: string;
515
- camelCaseName: string;
516
- id: string;
517
- type: "date-field";
518
- showErrorMessage?: boolean | undefined;
519
- rules?: {
520
- required?: boolean | undefined;
521
- minDate?: Date | undefined;
522
- maxDate?: Date | undefined;
523
- } | undefined;
524
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
525
- tooltip?: string | undefined;
526
- helperText?: string | undefined;
527
- defaultValue?: string | undefined;
528
- description?: string | undefined;
529
- placeholder?: string | undefined;
530
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
531
- required?: boolean;
532
- minDate?: Date;
533
- maxDate?: Date;
534
- }>;
535
- readonly SwitchField: react642.FC<{
536
- description?: string | undefined;
537
- label: string;
538
- helperText?: string | undefined;
539
- }>;
540
- readonly RadioGroupField: react642.FC<{
541
- description?: string | undefined;
542
- label: string;
543
- tooltip?: string | undefined;
544
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
545
- options: {
546
- label: string;
547
- value: string;
548
- description?: string | undefined;
549
- }[];
550
- helperText?: string | undefined;
551
- }>;
552
- readonly CheckboxField: react642.FC<{
553
- description?: string | undefined;
554
- label: string;
555
- tooltip?: string | undefined;
556
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
557
- options: {
558
- label: string;
559
- value: string;
560
- }[];
561
- helperText?: string | undefined;
562
- }>;
563
- readonly SimpleTextField: react642.FC<{
564
- label?: string;
565
- placeholder?: string;
566
- required?: boolean;
567
- maxLength?: number;
568
- disabled?: boolean;
569
- }>;
570
- readonly SimpleEmailField: react642.FC<{
571
- label?: string;
572
- placeholder?: string;
573
- required?: boolean;
574
- maxLength?: number;
575
- disabled?: boolean;
576
- }>;
577
- readonly SimplePasswordField: react642.FC<{
578
- label?: string;
579
- placeholder?: string;
580
- required?: boolean;
581
- disabled?: boolean;
582
- }>;
583
- readonly SimpleTextareaField: react642.FC<{
584
- label?: string;
585
- placeholder?: string;
586
- required?: boolean;
587
- maxLength?: number;
588
- rows?: number;
589
- disabled?: boolean;
590
- }>;
591
- readonly SimpleNumberField: react642.FC<{
592
- label?: string;
593
- placeholder?: string;
594
- required?: boolean;
595
- unit?: string;
596
- allowNegative?: boolean;
597
- disabled?: boolean;
598
- }>;
599
- readonly SimpleSelectField: react642.FC<{
600
- label?: string;
601
- placeholder?: string;
602
- required?: boolean;
603
- options: Array<{
604
- value: string;
605
- label: string;
606
- }>;
607
- }>;
608
- readonly SimpleArrayField: typeof SimpleArrayField;
609
- readonly SimpleBooleanField: react642.FC<{
610
- label?: string;
611
- required?: boolean;
612
- disabled?: boolean;
613
- variant?: "checkbox" | "switch";
614
- }>;
615
- readonly SimpleComboboxField: react642.FC<{
616
- label?: string;
617
- placeholder?: string;
618
- required?: boolean;
619
- disabled?: boolean;
620
- options: Array<{
621
- value: string;
622
- label: string;
623
- }>;
624
- }>;
625
- readonly SimpleDateField: react642.FC<{
626
- label?: string;
627
- placeholder?: string;
628
- required?: boolean;
629
- disabled?: boolean;
630
- minDate?: Date;
631
- maxDate?: Date;
632
- }>;
633
- readonly SimpleRadioGroupField: react642.FC<{
634
- label?: string;
635
- required?: boolean;
636
- disabled?: boolean;
637
- options: Array<{
638
- value: string;
639
- label: string;
640
- }>;
641
- orientation?: "horizontal" | "vertical";
642
- }>;
643
- readonly FieldGroup: react642.MemoExoticComponent<({
644
- className,
645
- ...props
646
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
647
- readonly Field: react642.MemoExoticComponent<({
648
- className,
649
- orientation,
650
- ...props
651
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
652
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
653
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
654
- readonly FieldContent: react642.MemoExoticComponent<({
655
- className,
656
- ...props
657
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
658
- readonly FieldLabel: react642.MemoExoticComponent<({
659
- className,
660
- ...props
661
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
662
- readonly FieldContentMain: react642.MemoExoticComponent<({
663
- className,
664
- ...props
665
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
666
- readonly FieldSeparator: react642.MemoExoticComponent<({
667
- children,
668
- className,
669
- ...props
670
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
671
- readonly FieldError: react642.MemoExoticComponent<({
672
- className,
673
- children,
674
- errors,
675
- ...props
676
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
677
- errors?: Array<{
678
- code?: string;
679
- message?: string;
680
- } | undefined>;
681
- }) => react642.JSX.Element | null>;
682
- }, {
683
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
684
- title: string;
685
- submitText?: string;
686
- width?: number | string;
687
- maxWidth?: number | string;
688
- className?: string;
689
- open?: boolean;
690
- onOpenChange?: (open: boolean) => void;
691
- }>>;
692
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
693
- title: string;
694
- open?: boolean;
695
- contentClassName?: string;
696
- onOpenChange?: (open: boolean) => void;
697
- }>>;
698
- readonly TanStackContainerForm: react642.FC<{
699
- children?: react642.ReactNode | undefined;
700
- }>;
701
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
702
- title: string;
703
- }>>;
704
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
705
- title: string;
706
- description?: string;
707
- onDelete?: () => void | Promise<void>;
708
- }>>;
709
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
710
- label: string;
711
- description?: string;
712
- helperText?: string;
713
- orientation?: "horizontal" | "vertical" | "responsive";
714
- }>>;
715
- readonly TanStackTitleField: react642.FC<{
716
- title: string;
717
- description?: string;
718
- helperText?: string;
719
- }>;
720
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
721
- type?: "create" | "update";
722
- }>>;
723
- readonly TanStackActionSubmit: react642.FC<{
724
- label?: string;
725
- className?: string;
726
- }>;
727
- readonly ArrayCol: typeof ArrayCol;
728
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
729
- }>, withTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
730
- render,
731
- props
732
- }: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
733
- readonly TextField: react642.FC<Pick<{
734
- label: string;
735
- name: string;
736
- camelCaseName: string;
737
- id: string;
738
- type: "text-field";
739
- dataType?: "text" | "url" | "email" | "password" | undefined;
740
- rules?: {
741
- required?: boolean | undefined;
742
- maxLength?: number | undefined;
743
- minLength?: number | undefined;
744
- exactLength?: number | undefined;
745
- } | undefined;
746
- visibilityConditions?: {
747
- when: string;
748
- is: any;
749
- show?: boolean | undefined;
750
- } | undefined;
751
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
752
- tooltip?: string | undefined;
753
- helperText?: string | undefined;
754
- showErrorMessage?: boolean | undefined;
755
- counter?: boolean | undefined;
756
- showClearButton?: boolean | undefined;
757
- description?: string | undefined;
758
- placeholder?: string | undefined;
759
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
760
- required?: boolean;
761
- maxLength?: number;
762
- }>;
763
- readonly TextareaField: react642.FC<Pick<{
764
- label: string;
765
- name: string;
766
- camelCaseName: string;
767
- id: string;
768
- type: "textarea-field";
769
- rules?: {
770
- required?: boolean | undefined;
771
- maxLength?: number | undefined;
772
- minLength?: number | undefined;
773
- exactLength?: number | undefined;
774
- } | undefined;
775
- visibilityConditions?: {
776
- when: string;
777
- is: any;
778
- show?: boolean | undefined;
779
- } | undefined;
780
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
781
- tooltip?: string | undefined;
782
- helperText?: string | undefined;
783
- showErrorMessage?: boolean | undefined;
784
- counter?: boolean | undefined;
785
- description?: string | undefined;
786
- placeholder?: string | undefined;
787
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
788
- required?: boolean;
789
- maxLength?: number;
790
- }>;
791
- readonly TextEditorField: react642.FC<Pick<{
792
- label: string;
793
- name: string;
794
- camelCaseName: string;
795
- id: string;
796
- type: "text-editor-field";
797
- tooltip?: string | undefined;
798
- helperText?: string | undefined;
799
- showErrorMessage?: boolean | undefined;
800
- rules?: {
801
- required?: boolean | undefined;
802
- } | undefined;
803
- description?: string | undefined;
804
- placeholder?: string | undefined;
805
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
806
- required?: boolean;
807
- }>;
808
- readonly NumberField: react642.FC<Pick<{
809
- label: string;
810
- name: string;
811
- camelCaseName: string;
812
- id: string;
813
- type: "number-field";
814
- rules?: {
815
- required?: boolean | undefined;
816
- min?: {
817
- value: number;
818
- inclusive?: boolean | undefined;
819
- } | undefined;
820
- max?: {
821
- value: number;
822
- inclusive?: boolean | undefined;
823
- } | undefined;
824
- integerOnly?: boolean | undefined;
825
- positiveOnly?: boolean | undefined;
826
- exactDigits?: number | undefined;
827
- } | undefined;
828
- visibilityConditions?: {
829
- when: string;
830
- is: any;
831
- show?: boolean | undefined;
832
- } | undefined;
833
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
834
- tooltip?: string | undefined;
835
- helperText?: string | undefined;
836
- showErrorMessage?: boolean | undefined;
837
- defaultValue?: number | undefined;
838
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
839
- decimalPlaces?: number | undefined;
840
- percision?: number | undefined;
841
- unit?: string | undefined;
842
- description?: string | undefined;
843
- placeholder?: string | undefined;
844
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
845
- required?: boolean;
846
- allowNegative?: boolean;
847
- }>;
848
- readonly EmailField: react642.FC<Pick<{
849
- rules: {
850
- maxLength?: number | undefined;
851
- minLength?: number | undefined;
852
- };
853
- label: string;
854
- name: string;
855
- camelCaseName: string;
856
- id: string;
857
- type: "email-field";
858
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
859
- tooltip?: string | undefined;
860
- helperText?: string | undefined;
861
- showErrorMessage?: boolean | undefined;
862
- description?: string | undefined;
863
- placeholder?: string | undefined;
864
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
865
- required?: boolean;
866
- maxLength?: number;
867
- }>;
868
- readonly PasswordField: react642.FC<{
869
- description?: string | undefined;
870
- label: string;
871
- placeholder?: string | undefined;
872
- tooltip?: string | undefined;
873
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
874
- helperText?: string | undefined;
875
- showErrorMessage?: boolean | undefined;
876
- }>;
877
- readonly SelectField: react642.FC<Pick<{
878
- options: {
879
- label: string;
880
- value: string;
881
- }[];
882
- label: string;
883
- name: string;
884
- camelCaseName: string;
885
- id: string;
886
- type: "select-field";
887
- clearable?: boolean | undefined;
888
- rules?: {
889
- required?: boolean | undefined;
890
- } | undefined;
891
- visibilityConditions?: {
892
- when: string;
893
- is: any;
894
- show?: boolean | undefined;
895
- } | undefined;
896
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
897
- tooltip?: string | undefined;
898
- helperText?: string | undefined;
899
- defaultValue?: string | undefined;
900
- description?: string | undefined;
901
- placeholder?: string | undefined;
902
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
903
- required?: boolean;
904
- }>;
905
- readonly ComboboxField: react642.FC<{
906
- label: string;
907
- description?: string;
908
- placeholder?: string;
909
- tooltip?: string;
910
- orientation?: "horizontal" | "vertical" | "responsive";
911
- options: Array<{
912
- value: string;
913
- label: string;
914
- }>;
915
- }>;
916
- readonly DateField: react642.FC<Pick<{
917
- label: string;
918
- name: string;
919
- camelCaseName: string;
920
- id: string;
921
- type: "date-field";
922
- showErrorMessage?: boolean | undefined;
923
- rules?: {
924
- required?: boolean | undefined;
925
- minDate?: Date | undefined;
926
- maxDate?: Date | undefined;
927
- } | undefined;
928
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
929
- tooltip?: string | undefined;
930
- helperText?: string | undefined;
931
- defaultValue?: string | undefined;
932
- description?: string | undefined;
933
- placeholder?: string | undefined;
934
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
935
- required?: boolean;
936
- minDate?: Date;
937
- maxDate?: Date;
938
- }>;
939
- readonly SwitchField: react642.FC<{
940
- description?: string | undefined;
941
- label: string;
942
- helperText?: string | undefined;
943
- }>;
944
- readonly RadioGroupField: react642.FC<{
945
- description?: string | undefined;
946
- label: string;
947
- tooltip?: string | undefined;
948
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
949
- options: {
950
- label: string;
951
- value: string;
952
- description?: string | undefined;
953
- }[];
954
- helperText?: string | undefined;
955
- }>;
956
- readonly CheckboxField: react642.FC<{
957
- description?: string | undefined;
958
- label: string;
959
- tooltip?: string | undefined;
960
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
961
- options: {
962
- label: string;
963
- value: string;
964
- }[];
965
- helperText?: string | undefined;
966
- }>;
967
- readonly SimpleTextField: react642.FC<{
968
- label?: string;
969
- placeholder?: string;
970
- required?: boolean;
971
- maxLength?: number;
972
- disabled?: boolean;
973
- }>;
974
- readonly SimpleEmailField: react642.FC<{
975
- label?: string;
976
- placeholder?: string;
977
- required?: boolean;
978
- maxLength?: number;
979
- disabled?: boolean;
980
- }>;
981
- readonly SimplePasswordField: react642.FC<{
982
- label?: string;
983
- placeholder?: string;
984
- required?: boolean;
985
- disabled?: boolean;
986
- }>;
987
- readonly SimpleTextareaField: react642.FC<{
988
- label?: string;
989
- placeholder?: string;
990
- required?: boolean;
991
- maxLength?: number;
992
- rows?: number;
993
- disabled?: boolean;
994
- }>;
995
- readonly SimpleNumberField: react642.FC<{
996
- label?: string;
997
- placeholder?: string;
998
- required?: boolean;
999
- unit?: string;
1000
- allowNegative?: boolean;
1001
- disabled?: boolean;
1002
- }>;
1003
- readonly SimpleSelectField: react642.FC<{
1004
- label?: string;
1005
- placeholder?: string;
1006
- required?: boolean;
1007
- options: Array<{
1008
- value: string;
1009
- label: string;
1010
- }>;
1011
- }>;
1012
- readonly SimpleArrayField: typeof SimpleArrayField;
1013
- readonly SimpleBooleanField: react642.FC<{
1014
- label?: string;
1015
- required?: boolean;
1016
- disabled?: boolean;
1017
- variant?: "checkbox" | "switch";
1018
- }>;
1019
- readonly SimpleComboboxField: react642.FC<{
1020
- label?: string;
1021
- placeholder?: string;
1022
- required?: boolean;
1023
- disabled?: boolean;
1024
- options: Array<{
1025
- value: string;
1026
- label: string;
1027
- }>;
1028
- }>;
1029
- readonly SimpleDateField: react642.FC<{
1030
- label?: string;
1031
- placeholder?: string;
1032
- required?: boolean;
1033
- disabled?: boolean;
1034
- minDate?: Date;
1035
- maxDate?: Date;
1036
- }>;
1037
- readonly SimpleRadioGroupField: react642.FC<{
1038
- label?: string;
1039
- required?: boolean;
1040
- disabled?: boolean;
1041
- options: Array<{
1042
- value: string;
1043
- label: string;
1044
- }>;
1045
- orientation?: "horizontal" | "vertical";
1046
- }>;
1047
- readonly FieldGroup: react642.MemoExoticComponent<({
1048
- className,
1049
- ...props
1050
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1051
- readonly Field: react642.MemoExoticComponent<({
1052
- className,
1053
- orientation,
1054
- ...props
1055
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
1056
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
1057
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
1058
- readonly FieldContent: react642.MemoExoticComponent<({
1059
- className,
1060
- ...props
1061
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1062
- readonly FieldLabel: react642.MemoExoticComponent<({
1063
- className,
1064
- ...props
1065
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
1066
- readonly FieldContentMain: react642.MemoExoticComponent<({
1067
- className,
1068
- ...props
1069
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1070
- readonly FieldSeparator: react642.MemoExoticComponent<({
1071
- children,
1072
- className,
1073
- ...props
1074
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
1075
- readonly FieldError: react642.MemoExoticComponent<({
1076
- className,
1077
- children,
1078
- errors,
1079
- ...props
1080
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
1081
- errors?: Array<{
1082
- code?: string;
1083
- message?: string;
1084
- } | undefined>;
1085
- }) => react642.JSX.Element | null>;
1086
- }, {
1087
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
1088
- title: string;
1089
- submitText?: string;
1090
- width?: number | string;
1091
- maxWidth?: number | string;
1092
- className?: string;
1093
- open?: boolean;
1094
- onOpenChange?: (open: boolean) => void;
1095
- }>>;
1096
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
1097
- title: string;
1098
- open?: boolean;
1099
- contentClassName?: string;
1100
- onOpenChange?: (open: boolean) => void;
1101
- }>>;
1102
- readonly TanStackContainerForm: react642.FC<{
1103
- children?: react642.ReactNode | undefined;
1104
- }>;
1105
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
1106
- title: string;
1107
- }>>;
1108
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
1109
- title: string;
1110
- description?: string;
1111
- onDelete?: () => void | Promise<void>;
1112
- }>>;
1113
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
1114
- label: string;
1115
- description?: string;
1116
- helperText?: string;
1117
- orientation?: "horizontal" | "vertical" | "responsive";
1118
- }>>;
1119
- readonly TanStackTitleField: react642.FC<{
1120
- title: string;
1121
- description?: string;
1122
- helperText?: string;
1123
- }>;
1124
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
1125
- type?: "create" | "update";
1126
- }>>;
1127
- readonly TanStackActionSubmit: react642.FC<{
1128
- label?: string;
1129
- className?: string;
1130
- }>;
1131
- readonly ArrayCol: typeof ArrayCol;
1132
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
1133
- }, TRenderProps>) => react642.FunctionComponent<react642.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
1134
- form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
1135
- readonly TextField: react642.FC<Pick<{
1136
- label: string;
1137
- name: string;
1138
- camelCaseName: string;
1139
- id: string;
1140
- type: "text-field";
1141
- dataType?: "text" | "url" | "email" | "password" | undefined;
1142
- rules?: {
1143
- required?: boolean | undefined;
1144
- maxLength?: number | undefined;
1145
- minLength?: number | undefined;
1146
- exactLength?: number | undefined;
1147
- } | undefined;
1148
- visibilityConditions?: {
1149
- when: string;
1150
- is: any;
1151
- show?: boolean | undefined;
1152
- } | undefined;
1153
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1154
- tooltip?: string | undefined;
1155
- helperText?: string | undefined;
1156
- showErrorMessage?: boolean | undefined;
1157
- counter?: boolean | undefined;
1158
- showClearButton?: boolean | undefined;
1159
- description?: string | undefined;
1160
- placeholder?: string | undefined;
1161
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
1162
- required?: boolean;
1163
- maxLength?: number;
1164
- }>;
1165
- readonly TextareaField: react642.FC<Pick<{
1166
- label: string;
1167
- name: string;
1168
- camelCaseName: string;
1169
- id: string;
1170
- type: "textarea-field";
1171
- rules?: {
1172
- required?: boolean | undefined;
1173
- maxLength?: number | undefined;
1174
- minLength?: number | undefined;
1175
- exactLength?: number | undefined;
1176
- } | undefined;
1177
- visibilityConditions?: {
1178
- when: string;
1179
- is: any;
1180
- show?: boolean | undefined;
1181
- } | undefined;
1182
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1183
- tooltip?: string | undefined;
1184
- helperText?: string | undefined;
1185
- showErrorMessage?: boolean | undefined;
1186
- counter?: boolean | undefined;
1187
- description?: string | undefined;
1188
- placeholder?: string | undefined;
1189
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
1190
- required?: boolean;
1191
- maxLength?: number;
1192
- }>;
1193
- readonly TextEditorField: react642.FC<Pick<{
1194
- label: string;
1195
- name: string;
1196
- camelCaseName: string;
1197
- id: string;
1198
- type: "text-editor-field";
1199
- tooltip?: string | undefined;
1200
- helperText?: string | undefined;
1201
- showErrorMessage?: boolean | undefined;
1202
- rules?: {
1203
- required?: boolean | undefined;
1204
- } | undefined;
1205
- description?: string | undefined;
1206
- placeholder?: string | undefined;
1207
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
1208
- required?: boolean;
1209
- }>;
1210
- readonly NumberField: react642.FC<Pick<{
1211
- label: string;
1212
- name: string;
1213
- camelCaseName: string;
1214
- id: string;
1215
- type: "number-field";
1216
- rules?: {
1217
- required?: boolean | undefined;
1218
- min?: {
1219
- value: number;
1220
- inclusive?: boolean | undefined;
1221
- } | undefined;
1222
- max?: {
1223
- value: number;
1224
- inclusive?: boolean | undefined;
1225
- } | undefined;
1226
- integerOnly?: boolean | undefined;
1227
- positiveOnly?: boolean | undefined;
1228
- exactDigits?: number | undefined;
1229
- } | undefined;
1230
- visibilityConditions?: {
1231
- when: string;
1232
- is: any;
1233
- show?: boolean | undefined;
1234
- } | undefined;
1235
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1236
- tooltip?: string | undefined;
1237
- helperText?: string | undefined;
1238
- showErrorMessage?: boolean | undefined;
1239
- defaultValue?: number | undefined;
1240
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
1241
- decimalPlaces?: number | undefined;
1242
- percision?: number | undefined;
1243
- unit?: string | undefined;
1244
- description?: string | undefined;
1245
- placeholder?: string | undefined;
1246
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
1247
- required?: boolean;
1248
- allowNegative?: boolean;
1249
- }>;
1250
- readonly EmailField: react642.FC<Pick<{
1251
- rules: {
1252
- maxLength?: number | undefined;
1253
- minLength?: number | undefined;
1254
- };
1255
- label: string;
1256
- name: string;
1257
- camelCaseName: string;
1258
- id: string;
1259
- type: "email-field";
1260
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1261
- tooltip?: string | undefined;
1262
- helperText?: string | undefined;
1263
- showErrorMessage?: boolean | undefined;
1264
- description?: string | undefined;
1265
- placeholder?: string | undefined;
1266
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
1267
- required?: boolean;
1268
- maxLength?: number;
1269
- }>;
1270
- readonly PasswordField: react642.FC<{
1271
- description?: string | undefined;
1272
- label: string;
1273
- placeholder?: string | undefined;
1274
- tooltip?: string | undefined;
1275
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1276
- helperText?: string | undefined;
1277
- showErrorMessage?: boolean | undefined;
1278
- }>;
1279
- readonly SelectField: react642.FC<Pick<{
1280
- options: {
1281
- label: string;
1282
- value: string;
1283
- }[];
1284
- label: string;
1285
- name: string;
1286
- camelCaseName: string;
1287
- id: string;
1288
- type: "select-field";
1289
- clearable?: boolean | undefined;
1290
- rules?: {
1291
- required?: boolean | undefined;
1292
- } | undefined;
1293
- visibilityConditions?: {
1294
- when: string;
1295
- is: any;
1296
- show?: boolean | undefined;
1297
- } | undefined;
1298
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1299
- tooltip?: string | undefined;
1300
- helperText?: string | undefined;
1301
- defaultValue?: string | undefined;
1302
- description?: string | undefined;
1303
- placeholder?: string | undefined;
1304
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
1305
- required?: boolean;
1306
- }>;
1307
- readonly ComboboxField: react642.FC<{
1308
- label: string;
1309
- description?: string;
1310
- placeholder?: string;
1311
- tooltip?: string;
1312
- orientation?: "horizontal" | "vertical" | "responsive";
1313
- options: Array<{
1314
- value: string;
1315
- label: string;
1316
- }>;
1317
- }>;
1318
- readonly DateField: react642.FC<Pick<{
1319
- label: string;
1320
- name: string;
1321
- camelCaseName: string;
1322
- id: string;
1323
- type: "date-field";
1324
- showErrorMessage?: boolean | undefined;
1325
- rules?: {
1326
- required?: boolean | undefined;
1327
- minDate?: Date | undefined;
1328
- maxDate?: Date | undefined;
1329
- } | undefined;
1330
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1331
- tooltip?: string | undefined;
1332
- helperText?: string | undefined;
1333
- defaultValue?: string | undefined;
1334
- description?: string | undefined;
1335
- placeholder?: string | undefined;
1336
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
1337
- required?: boolean;
1338
- minDate?: Date;
1339
- maxDate?: Date;
1340
- }>;
1341
- readonly SwitchField: react642.FC<{
1342
- description?: string | undefined;
1343
- label: string;
1344
- helperText?: string | undefined;
1345
- }>;
1346
- readonly RadioGroupField: react642.FC<{
1347
- description?: string | undefined;
1348
- label: string;
1349
- tooltip?: string | undefined;
1350
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1351
- options: {
1352
- label: string;
1353
- value: string;
1354
- description?: string | undefined;
1355
- }[];
1356
- helperText?: string | undefined;
1357
- }>;
1358
- readonly CheckboxField: react642.FC<{
1359
- description?: string | undefined;
1360
- label: string;
1361
- tooltip?: string | undefined;
1362
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1363
- options: {
1364
- label: string;
1365
- value: string;
1366
- }[];
1367
- helperText?: string | undefined;
1368
- }>;
1369
- readonly SimpleTextField: react642.FC<{
1370
- label?: string;
1371
- placeholder?: string;
1372
- required?: boolean;
1373
- maxLength?: number;
1374
- disabled?: boolean;
1375
- }>;
1376
- readonly SimpleEmailField: react642.FC<{
1377
- label?: string;
1378
- placeholder?: string;
1379
- required?: boolean;
1380
- maxLength?: number;
1381
- disabled?: boolean;
1382
- }>;
1383
- readonly SimplePasswordField: react642.FC<{
1384
- label?: string;
1385
- placeholder?: string;
1386
- required?: boolean;
1387
- disabled?: boolean;
1388
- }>;
1389
- readonly SimpleTextareaField: react642.FC<{
1390
- label?: string;
1391
- placeholder?: string;
1392
- required?: boolean;
1393
- maxLength?: number;
1394
- rows?: number;
1395
- disabled?: boolean;
1396
- }>;
1397
- readonly SimpleNumberField: react642.FC<{
1398
- label?: string;
1399
- placeholder?: string;
1400
- required?: boolean;
1401
- unit?: string;
1402
- allowNegative?: boolean;
1403
- disabled?: boolean;
1404
- }>;
1405
- readonly SimpleSelectField: react642.FC<{
1406
- label?: string;
1407
- placeholder?: string;
1408
- required?: boolean;
1409
- options: Array<{
1410
- value: string;
1411
- label: string;
1412
- }>;
1413
- }>;
1414
- readonly SimpleArrayField: typeof SimpleArrayField;
1415
- readonly SimpleBooleanField: react642.FC<{
1416
- label?: string;
1417
- required?: boolean;
1418
- disabled?: boolean;
1419
- variant?: "checkbox" | "switch";
1420
- }>;
1421
- readonly SimpleComboboxField: react642.FC<{
1422
- label?: string;
1423
- placeholder?: string;
1424
- required?: boolean;
1425
- disabled?: boolean;
1426
- options: Array<{
1427
- value: string;
1428
- label: string;
1429
- }>;
1430
- }>;
1431
- readonly SimpleDateField: react642.FC<{
1432
- label?: string;
1433
- placeholder?: string;
1434
- required?: boolean;
1435
- disabled?: boolean;
1436
- minDate?: Date;
1437
- maxDate?: Date;
1438
- }>;
1439
- readonly SimpleRadioGroupField: react642.FC<{
1440
- label?: string;
1441
- required?: boolean;
1442
- disabled?: boolean;
1443
- options: Array<{
1444
- value: string;
1445
- label: string;
1446
- }>;
1447
- orientation?: "horizontal" | "vertical";
1448
- }>;
1449
- readonly FieldGroup: react642.MemoExoticComponent<({
1450
- className,
1451
- ...props
1452
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1453
- readonly Field: react642.MemoExoticComponent<({
1454
- className,
1455
- orientation,
1456
- ...props
1457
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
1458
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
1459
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
1460
- readonly FieldContent: react642.MemoExoticComponent<({
1461
- className,
1462
- ...props
1463
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1464
- readonly FieldLabel: react642.MemoExoticComponent<({
1465
- className,
1466
- ...props
1467
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
1468
- readonly FieldContentMain: react642.MemoExoticComponent<({
1469
- className,
1470
- ...props
1471
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1472
- readonly FieldSeparator: react642.MemoExoticComponent<({
1473
- children,
1474
- className,
1475
- ...props
1476
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
1477
- readonly FieldError: react642.MemoExoticComponent<({
1478
- className,
1479
- children,
1480
- errors,
1481
- ...props
1482
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
1483
- errors?: Array<{
1484
- code?: string;
1485
- message?: string;
1486
- } | undefined>;
1487
- }) => react642.JSX.Element | null>;
1488
- }, {
1489
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
1490
- title: string;
1491
- submitText?: string;
1492
- width?: number | string;
1493
- maxWidth?: number | string;
1494
- className?: string;
1495
- open?: boolean;
1496
- onOpenChange?: (open: boolean) => void;
1497
- }>>;
1498
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
1499
- title: string;
1500
- open?: boolean;
1501
- contentClassName?: string;
1502
- onOpenChange?: (open: boolean) => void;
1503
- }>>;
1504
- readonly TanStackContainerForm: react642.FC<{
1505
- children?: react642.ReactNode | undefined;
1506
- }>;
1507
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
1508
- title: string;
1509
- }>>;
1510
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
1511
- title: string;
1512
- description?: string;
1513
- onDelete?: () => void | Promise<void>;
1514
- }>>;
1515
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
1516
- label: string;
1517
- description?: string;
1518
- helperText?: string;
1519
- orientation?: "horizontal" | "vertical" | "responsive";
1520
- }>>;
1521
- readonly TanStackTitleField: react642.FC<{
1522
- title: string;
1523
- description?: string;
1524
- helperText?: string;
1525
- }>;
1526
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
1527
- type?: "create" | "update";
1528
- }>>;
1529
- readonly TanStackActionSubmit: react642.FC<{
1530
- label?: string;
1531
- className?: string;
1532
- }>;
1533
- readonly ArrayCol: typeof ArrayCol;
1534
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
1535
- }>;
1536
- }>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
1537
- render,
1538
- props,
1539
- defaultValues
1540
- }: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
1541
- readonly TextField: react642.FC<Pick<{
1542
- label: string;
1543
- name: string;
1544
- camelCaseName: string;
1545
- id: string;
1546
- type: "text-field";
1547
- dataType?: "text" | "url" | "email" | "password" | undefined;
1548
- rules?: {
1549
- required?: boolean | undefined;
1550
- maxLength?: number | undefined;
1551
- minLength?: number | undefined;
1552
- exactLength?: number | undefined;
1553
- } | undefined;
1554
- visibilityConditions?: {
1555
- when: string;
1556
- is: any;
1557
- show?: boolean | undefined;
1558
- } | undefined;
1559
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1560
- tooltip?: string | undefined;
1561
- helperText?: string | undefined;
1562
- showErrorMessage?: boolean | undefined;
1563
- counter?: boolean | undefined;
1564
- showClearButton?: boolean | undefined;
1565
- description?: string | undefined;
1566
- placeholder?: string | undefined;
1567
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
1568
- required?: boolean;
1569
- maxLength?: number;
1570
- }>;
1571
- readonly TextareaField: react642.FC<Pick<{
1572
- label: string;
1573
- name: string;
1574
- camelCaseName: string;
1575
- id: string;
1576
- type: "textarea-field";
1577
- rules?: {
1578
- required?: boolean | undefined;
1579
- maxLength?: number | undefined;
1580
- minLength?: number | undefined;
1581
- exactLength?: number | undefined;
1582
- } | undefined;
1583
- visibilityConditions?: {
1584
- when: string;
1585
- is: any;
1586
- show?: boolean | undefined;
1587
- } | undefined;
1588
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1589
- tooltip?: string | undefined;
1590
- helperText?: string | undefined;
1591
- showErrorMessage?: boolean | undefined;
1592
- counter?: boolean | undefined;
1593
- description?: string | undefined;
1594
- placeholder?: string | undefined;
1595
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
1596
- required?: boolean;
1597
- maxLength?: number;
1598
- }>;
1599
- readonly TextEditorField: react642.FC<Pick<{
1600
- label: string;
1601
- name: string;
1602
- camelCaseName: string;
1603
- id: string;
1604
- type: "text-editor-field";
1605
- tooltip?: string | undefined;
1606
- helperText?: string | undefined;
1607
- showErrorMessage?: boolean | undefined;
1608
- rules?: {
1609
- required?: boolean | undefined;
1610
- } | undefined;
1611
- description?: string | undefined;
1612
- placeholder?: string | undefined;
1613
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
1614
- required?: boolean;
1615
- }>;
1616
- readonly NumberField: react642.FC<Pick<{
1617
- label: string;
1618
- name: string;
1619
- camelCaseName: string;
1620
- id: string;
1621
- type: "number-field";
1622
- rules?: {
1623
- required?: boolean | undefined;
1624
- min?: {
1625
- value: number;
1626
- inclusive?: boolean | undefined;
1627
- } | undefined;
1628
- max?: {
1629
- value: number;
1630
- inclusive?: boolean | undefined;
1631
- } | undefined;
1632
- integerOnly?: boolean | undefined;
1633
- positiveOnly?: boolean | undefined;
1634
- exactDigits?: number | undefined;
1635
- } | undefined;
1636
- visibilityConditions?: {
1637
- when: string;
1638
- is: any;
1639
- show?: boolean | undefined;
1640
- } | undefined;
1641
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1642
- tooltip?: string | undefined;
1643
- helperText?: string | undefined;
1644
- showErrorMessage?: boolean | undefined;
1645
- defaultValue?: number | undefined;
1646
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
1647
- decimalPlaces?: number | undefined;
1648
- percision?: number | undefined;
1649
- unit?: string | undefined;
1650
- description?: string | undefined;
1651
- placeholder?: string | undefined;
1652
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
1653
- required?: boolean;
1654
- allowNegative?: boolean;
1655
- }>;
1656
- readonly EmailField: react642.FC<Pick<{
1657
- rules: {
1658
- maxLength?: number | undefined;
1659
- minLength?: number | undefined;
1660
- };
1661
- label: string;
1662
- name: string;
1663
- camelCaseName: string;
1664
- id: string;
1665
- type: "email-field";
1666
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1667
- tooltip?: string | undefined;
1668
- helperText?: string | undefined;
1669
- showErrorMessage?: boolean | undefined;
1670
- description?: string | undefined;
1671
- placeholder?: string | undefined;
1672
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
1673
- required?: boolean;
1674
- maxLength?: number;
1675
- }>;
1676
- readonly PasswordField: react642.FC<{
1677
- description?: string | undefined;
1678
- label: string;
1679
- placeholder?: string | undefined;
1680
- tooltip?: string | undefined;
1681
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1682
- helperText?: string | undefined;
1683
- showErrorMessage?: boolean | undefined;
1684
- }>;
1685
- readonly SelectField: react642.FC<Pick<{
1686
- options: {
1687
- label: string;
1688
- value: string;
1689
- }[];
1690
- label: string;
1691
- name: string;
1692
- camelCaseName: string;
1693
- id: string;
1694
- type: "select-field";
1695
- clearable?: boolean | undefined;
1696
- rules?: {
1697
- required?: boolean | undefined;
1698
- } | undefined;
1699
- visibilityConditions?: {
1700
- when: string;
1701
- is: any;
1702
- show?: boolean | undefined;
1703
- } | undefined;
1704
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1705
- tooltip?: string | undefined;
1706
- helperText?: string | undefined;
1707
- defaultValue?: string | undefined;
1708
- description?: string | undefined;
1709
- placeholder?: string | undefined;
1710
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
1711
- required?: boolean;
1712
- }>;
1713
- readonly ComboboxField: react642.FC<{
1714
- label: string;
1715
- description?: string;
1716
- placeholder?: string;
1717
- tooltip?: string;
1718
- orientation?: "horizontal" | "vertical" | "responsive";
1719
- options: Array<{
1720
- value: string;
1721
- label: string;
1722
- }>;
1723
- }>;
1724
- readonly DateField: react642.FC<Pick<{
1725
- label: string;
1726
- name: string;
1727
- camelCaseName: string;
1728
- id: string;
1729
- type: "date-field";
1730
- showErrorMessage?: boolean | undefined;
1731
- rules?: {
1732
- required?: boolean | undefined;
1733
- minDate?: Date | undefined;
1734
- maxDate?: Date | undefined;
1735
- } | undefined;
1736
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1737
- tooltip?: string | undefined;
1738
- helperText?: string | undefined;
1739
- defaultValue?: string | undefined;
1740
- description?: string | undefined;
1741
- placeholder?: string | undefined;
1742
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
1743
- required?: boolean;
1744
- minDate?: Date;
1745
- maxDate?: Date;
1746
- }>;
1747
- readonly SwitchField: react642.FC<{
1748
- description?: string | undefined;
1749
- label: string;
1750
- helperText?: string | undefined;
1751
- }>;
1752
- readonly RadioGroupField: react642.FC<{
1753
- description?: string | undefined;
1754
- label: string;
1755
- tooltip?: string | undefined;
1756
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1757
- options: {
1758
- label: string;
1759
- value: string;
1760
- description?: string | undefined;
1761
- }[];
1762
- helperText?: string | undefined;
1763
- }>;
1764
- readonly CheckboxField: react642.FC<{
1765
- description?: string | undefined;
1766
- label: string;
1767
- tooltip?: string | undefined;
1768
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1769
- options: {
1770
- label: string;
1771
- value: string;
1772
- }[];
1773
- helperText?: string | undefined;
1774
- }>;
1775
- readonly SimpleTextField: react642.FC<{
1776
- label?: string;
1777
- placeholder?: string;
1778
- required?: boolean;
1779
- maxLength?: number;
1780
- disabled?: boolean;
1781
- }>;
1782
- readonly SimpleEmailField: react642.FC<{
1783
- label?: string;
1784
- placeholder?: string;
1785
- required?: boolean;
1786
- maxLength?: number;
1787
- disabled?: boolean;
1788
- }>;
1789
- readonly SimplePasswordField: react642.FC<{
1790
- label?: string;
1791
- placeholder?: string;
1792
- required?: boolean;
1793
- disabled?: boolean;
1794
- }>;
1795
- readonly SimpleTextareaField: react642.FC<{
1796
- label?: string;
1797
- placeholder?: string;
1798
- required?: boolean;
1799
- maxLength?: number;
1800
- rows?: number;
1801
- disabled?: boolean;
1802
- }>;
1803
- readonly SimpleNumberField: react642.FC<{
1804
- label?: string;
1805
- placeholder?: string;
1806
- required?: boolean;
1807
- unit?: string;
1808
- allowNegative?: boolean;
1809
- disabled?: boolean;
1810
- }>;
1811
- readonly SimpleSelectField: react642.FC<{
1812
- label?: string;
1813
- placeholder?: string;
1814
- required?: boolean;
1815
- options: Array<{
1816
- value: string;
1817
- label: string;
1818
- }>;
1819
- }>;
1820
- readonly SimpleArrayField: typeof SimpleArrayField;
1821
- readonly SimpleBooleanField: react642.FC<{
1822
- label?: string;
1823
- required?: boolean;
1824
- disabled?: boolean;
1825
- variant?: "checkbox" | "switch";
1826
- }>;
1827
- readonly SimpleComboboxField: react642.FC<{
1828
- label?: string;
1829
- placeholder?: string;
1830
- required?: boolean;
1831
- disabled?: boolean;
1832
- options: Array<{
1833
- value: string;
1834
- label: string;
1835
- }>;
1836
- }>;
1837
- readonly SimpleDateField: react642.FC<{
1838
- label?: string;
1839
- placeholder?: string;
1840
- required?: boolean;
1841
- disabled?: boolean;
1842
- minDate?: Date;
1843
- maxDate?: Date;
1844
- }>;
1845
- readonly SimpleRadioGroupField: react642.FC<{
1846
- label?: string;
1847
- required?: boolean;
1848
- disabled?: boolean;
1849
- options: Array<{
1850
- value: string;
1851
- label: string;
1852
- }>;
1853
- orientation?: "horizontal" | "vertical";
1854
- }>;
1855
- readonly FieldGroup: react642.MemoExoticComponent<({
1856
- className,
1857
- ...props
1858
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1859
- readonly Field: react642.MemoExoticComponent<({
1860
- className,
1861
- orientation,
1862
- ...props
1863
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
1864
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
1865
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
1866
- readonly FieldContent: react642.MemoExoticComponent<({
1867
- className,
1868
- ...props
1869
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1870
- readonly FieldLabel: react642.MemoExoticComponent<({
1871
- className,
1872
- ...props
1873
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
1874
- readonly FieldContentMain: react642.MemoExoticComponent<({
1875
- className,
1876
- ...props
1877
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
1878
- readonly FieldSeparator: react642.MemoExoticComponent<({
1879
- children,
1880
- className,
1881
- ...props
1882
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
1883
- readonly FieldError: react642.MemoExoticComponent<({
1884
- className,
1885
- children,
1886
- errors,
1887
- ...props
1888
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
1889
- errors?: Array<{
1890
- code?: string;
1891
- message?: string;
1892
- } | undefined>;
1893
- }) => react642.JSX.Element | null>;
1894
- }, {
1895
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
1896
- title: string;
1897
- submitText?: string;
1898
- width?: number | string;
1899
- maxWidth?: number | string;
1900
- className?: string;
1901
- open?: boolean;
1902
- onOpenChange?: (open: boolean) => void;
1903
- }>>;
1904
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
1905
- title: string;
1906
- open?: boolean;
1907
- contentClassName?: string;
1908
- onOpenChange?: (open: boolean) => void;
1909
- }>>;
1910
- readonly TanStackContainerForm: react642.FC<{
1911
- children?: react642.ReactNode | undefined;
1912
- }>;
1913
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
1914
- title: string;
1915
- }>>;
1916
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
1917
- title: string;
1918
- description?: string;
1919
- onDelete?: () => void | Promise<void>;
1920
- }>>;
1921
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
1922
- label: string;
1923
- description?: string;
1924
- helperText?: string;
1925
- orientation?: "horizontal" | "vertical" | "responsive";
1926
- }>>;
1927
- readonly TanStackTitleField: react642.FC<{
1928
- title: string;
1929
- description?: string;
1930
- helperText?: string;
1931
- }>;
1932
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
1933
- type?: "create" | "update";
1934
- }>>;
1935
- readonly TanStackActionSubmit: react642.FC<{
1936
- label?: string;
1937
- className?: string;
1938
- }>;
1939
- readonly ArrayCol: typeof ArrayCol;
1940
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
1941
- }, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react642.PropsWithChildren<NoInfer<TRenderProps> & {
1942
- form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
1943
- readonly TextField: react642.FC<Pick<{
1944
- label: string;
1945
- name: string;
1946
- camelCaseName: string;
1947
- id: string;
1948
- type: "text-field";
1949
- dataType?: "text" | "url" | "email" | "password" | undefined;
1950
- rules?: {
1951
- required?: boolean | undefined;
1952
- maxLength?: number | undefined;
1953
- minLength?: number | undefined;
1954
- exactLength?: number | undefined;
1955
- } | undefined;
1956
- visibilityConditions?: {
1957
- when: string;
1958
- is: any;
1959
- show?: boolean | undefined;
1960
- } | undefined;
1961
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1962
- tooltip?: string | undefined;
1963
- helperText?: string | undefined;
1964
- showErrorMessage?: boolean | undefined;
1965
- counter?: boolean | undefined;
1966
- showClearButton?: boolean | undefined;
1967
- description?: string | undefined;
1968
- placeholder?: string | undefined;
1969
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
1970
- required?: boolean;
1971
- maxLength?: number;
1972
- }>;
1973
- readonly TextareaField: react642.FC<Pick<{
1974
- label: string;
1975
- name: string;
1976
- camelCaseName: string;
1977
- id: string;
1978
- type: "textarea-field";
1979
- rules?: {
1980
- required?: boolean | undefined;
1981
- maxLength?: number | undefined;
1982
- minLength?: number | undefined;
1983
- exactLength?: number | undefined;
1984
- } | undefined;
1985
- visibilityConditions?: {
1986
- when: string;
1987
- is: any;
1988
- show?: boolean | undefined;
1989
- } | undefined;
1990
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
1991
- tooltip?: string | undefined;
1992
- helperText?: string | undefined;
1993
- showErrorMessage?: boolean | undefined;
1994
- counter?: boolean | undefined;
1995
- description?: string | undefined;
1996
- placeholder?: string | undefined;
1997
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
1998
- required?: boolean;
1999
- maxLength?: number;
2000
- }>;
2001
- readonly TextEditorField: react642.FC<Pick<{
2002
- label: string;
2003
- name: string;
2004
- camelCaseName: string;
2005
- id: string;
2006
- type: "text-editor-field";
2007
- tooltip?: string | undefined;
2008
- helperText?: string | undefined;
2009
- showErrorMessage?: boolean | undefined;
2010
- rules?: {
2011
- required?: boolean | undefined;
2012
- } | undefined;
2013
- description?: string | undefined;
2014
- placeholder?: string | undefined;
2015
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
2016
- required?: boolean;
2017
- }>;
2018
- readonly NumberField: react642.FC<Pick<{
2019
- label: string;
2020
- name: string;
2021
- camelCaseName: string;
2022
- id: string;
2023
- type: "number-field";
2024
- rules?: {
2025
- required?: boolean | undefined;
2026
- min?: {
2027
- value: number;
2028
- inclusive?: boolean | undefined;
2029
- } | undefined;
2030
- max?: {
2031
- value: number;
2032
- inclusive?: boolean | undefined;
2033
- } | undefined;
2034
- integerOnly?: boolean | undefined;
2035
- positiveOnly?: boolean | undefined;
2036
- exactDigits?: number | undefined;
2037
- } | undefined;
2038
- visibilityConditions?: {
2039
- when: string;
2040
- is: any;
2041
- show?: boolean | undefined;
2042
- } | undefined;
2043
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2044
- tooltip?: string | undefined;
2045
- helperText?: string | undefined;
2046
- showErrorMessage?: boolean | undefined;
2047
- defaultValue?: number | undefined;
2048
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
2049
- decimalPlaces?: number | undefined;
2050
- percision?: number | undefined;
2051
- unit?: string | undefined;
2052
- description?: string | undefined;
2053
- placeholder?: string | undefined;
2054
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
2055
- required?: boolean;
2056
- allowNegative?: boolean;
2057
- }>;
2058
- readonly EmailField: react642.FC<Pick<{
2059
- rules: {
2060
- maxLength?: number | undefined;
2061
- minLength?: number | undefined;
2062
- };
2063
- label: string;
2064
- name: string;
2065
- camelCaseName: string;
2066
- id: string;
2067
- type: "email-field";
2068
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2069
- tooltip?: string | undefined;
2070
- helperText?: string | undefined;
2071
- showErrorMessage?: boolean | undefined;
2072
- description?: string | undefined;
2073
- placeholder?: string | undefined;
2074
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
2075
- required?: boolean;
2076
- maxLength?: number;
2077
- }>;
2078
- readonly PasswordField: react642.FC<{
2079
- description?: string | undefined;
2080
- label: string;
2081
- placeholder?: string | undefined;
2082
- tooltip?: string | undefined;
2083
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2084
- helperText?: string | undefined;
2085
- showErrorMessage?: boolean | undefined;
2086
- }>;
2087
- readonly SelectField: react642.FC<Pick<{
2088
- options: {
2089
- label: string;
2090
- value: string;
2091
- }[];
2092
- label: string;
2093
- name: string;
2094
- camelCaseName: string;
2095
- id: string;
2096
- type: "select-field";
2097
- clearable?: boolean | undefined;
2098
- rules?: {
2099
- required?: boolean | undefined;
2100
- } | undefined;
2101
- visibilityConditions?: {
2102
- when: string;
2103
- is: any;
2104
- show?: boolean | undefined;
2105
- } | undefined;
2106
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2107
- tooltip?: string | undefined;
2108
- helperText?: string | undefined;
2109
- defaultValue?: string | undefined;
2110
- description?: string | undefined;
2111
- placeholder?: string | undefined;
2112
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
2113
- required?: boolean;
2114
- }>;
2115
- readonly ComboboxField: react642.FC<{
2116
- label: string;
2117
- description?: string;
2118
- placeholder?: string;
2119
- tooltip?: string;
2120
- orientation?: "horizontal" | "vertical" | "responsive";
2121
- options: Array<{
2122
- value: string;
2123
- label: string;
2124
- }>;
2125
- }>;
2126
- readonly DateField: react642.FC<Pick<{
2127
- label: string;
2128
- name: string;
2129
- camelCaseName: string;
2130
- id: string;
2131
- type: "date-field";
2132
- showErrorMessage?: boolean | undefined;
2133
- rules?: {
2134
- required?: boolean | undefined;
2135
- minDate?: Date | undefined;
2136
- maxDate?: Date | undefined;
2137
- } | undefined;
2138
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2139
- tooltip?: string | undefined;
2140
- helperText?: string | undefined;
2141
- defaultValue?: string | undefined;
2142
- description?: string | undefined;
2143
- placeholder?: string | undefined;
2144
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
2145
- required?: boolean;
2146
- minDate?: Date;
2147
- maxDate?: Date;
2148
- }>;
2149
- readonly SwitchField: react642.FC<{
2150
- description?: string | undefined;
2151
- label: string;
2152
- helperText?: string | undefined;
2153
- }>;
2154
- readonly RadioGroupField: react642.FC<{
2155
- description?: string | undefined;
2156
- label: string;
2157
- tooltip?: string | undefined;
2158
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2159
- options: {
2160
- label: string;
2161
- value: string;
2162
- description?: string | undefined;
2163
- }[];
2164
- helperText?: string | undefined;
2165
- }>;
2166
- readonly CheckboxField: react642.FC<{
2167
- description?: string | undefined;
2168
- label: string;
2169
- tooltip?: string | undefined;
2170
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2171
- options: {
2172
- label: string;
2173
- value: string;
2174
- }[];
2175
- helperText?: string | undefined;
2176
- }>;
2177
- readonly SimpleTextField: react642.FC<{
2178
- label?: string;
2179
- placeholder?: string;
2180
- required?: boolean;
2181
- maxLength?: number;
2182
- disabled?: boolean;
2183
- }>;
2184
- readonly SimpleEmailField: react642.FC<{
2185
- label?: string;
2186
- placeholder?: string;
2187
- required?: boolean;
2188
- maxLength?: number;
2189
- disabled?: boolean;
2190
- }>;
2191
- readonly SimplePasswordField: react642.FC<{
2192
- label?: string;
2193
- placeholder?: string;
2194
- required?: boolean;
2195
- disabled?: boolean;
2196
- }>;
2197
- readonly SimpleTextareaField: react642.FC<{
2198
- label?: string;
2199
- placeholder?: string;
2200
- required?: boolean;
2201
- maxLength?: number;
2202
- rows?: number;
2203
- disabled?: boolean;
2204
- }>;
2205
- readonly SimpleNumberField: react642.FC<{
2206
- label?: string;
2207
- placeholder?: string;
2208
- required?: boolean;
2209
- unit?: string;
2210
- allowNegative?: boolean;
2211
- disabled?: boolean;
2212
- }>;
2213
- readonly SimpleSelectField: react642.FC<{
2214
- label?: string;
2215
- placeholder?: string;
2216
- required?: boolean;
2217
- options: Array<{
2218
- value: string;
2219
- label: string;
2220
- }>;
2221
- }>;
2222
- readonly SimpleArrayField: typeof SimpleArrayField;
2223
- readonly SimpleBooleanField: react642.FC<{
2224
- label?: string;
2225
- required?: boolean;
2226
- disabled?: boolean;
2227
- variant?: "checkbox" | "switch";
2228
- }>;
2229
- readonly SimpleComboboxField: react642.FC<{
2230
- label?: string;
2231
- placeholder?: string;
2232
- required?: boolean;
2233
- disabled?: boolean;
2234
- options: Array<{
2235
- value: string;
2236
- label: string;
2237
- }>;
2238
- }>;
2239
- readonly SimpleDateField: react642.FC<{
2240
- label?: string;
2241
- placeholder?: string;
2242
- required?: boolean;
2243
- disabled?: boolean;
2244
- minDate?: Date;
2245
- maxDate?: Date;
2246
- }>;
2247
- readonly SimpleRadioGroupField: react642.FC<{
2248
- label?: string;
2249
- required?: boolean;
2250
- disabled?: boolean;
2251
- options: Array<{
2252
- value: string;
2253
- label: string;
2254
- }>;
2255
- orientation?: "horizontal" | "vertical";
2256
- }>;
2257
- readonly FieldGroup: react642.MemoExoticComponent<({
2258
- className,
2259
- ...props
2260
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2261
- readonly Field: react642.MemoExoticComponent<({
2262
- className,
2263
- orientation,
2264
- ...props
2265
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
2266
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2267
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
2268
- readonly FieldContent: react642.MemoExoticComponent<({
2269
- className,
2270
- ...props
2271
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2272
- readonly FieldLabel: react642.MemoExoticComponent<({
2273
- className,
2274
- ...props
2275
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
2276
- readonly FieldContentMain: react642.MemoExoticComponent<({
2277
- className,
2278
- ...props
2279
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2280
- readonly FieldSeparator: react642.MemoExoticComponent<({
2281
- children,
2282
- className,
2283
- ...props
2284
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
2285
- readonly FieldError: react642.MemoExoticComponent<({
2286
- className,
2287
- children,
2288
- errors,
2289
- ...props
2290
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
2291
- errors?: Array<{
2292
- code?: string;
2293
- message?: string;
2294
- } | undefined>;
2295
- }) => react642.JSX.Element | null>;
2296
- }, {
2297
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
2298
- title: string;
2299
- submitText?: string;
2300
- width?: number | string;
2301
- maxWidth?: number | string;
2302
- className?: string;
2303
- open?: boolean;
2304
- onOpenChange?: (open: boolean) => void;
2305
- }>>;
2306
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
2307
- title: string;
2308
- open?: boolean;
2309
- contentClassName?: string;
2310
- onOpenChange?: (open: boolean) => void;
2311
- }>>;
2312
- readonly TanStackContainerForm: react642.FC<{
2313
- children?: react642.ReactNode | undefined;
2314
- }>;
2315
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
2316
- title: string;
2317
- }>>;
2318
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
2319
- title: string;
2320
- description?: string;
2321
- onDelete?: () => void | Promise<void>;
2322
- }>>;
2323
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
2324
- label: string;
2325
- description?: string;
2326
- helperText?: string;
2327
- orientation?: "horizontal" | "vertical" | "responsive";
2328
- }>>;
2329
- readonly TanStackTitleField: react642.FC<{
2330
- title: string;
2331
- description?: string;
2332
- helperText?: string;
2333
- }>;
2334
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
2335
- type?: "create" | "update";
2336
- }>>;
2337
- readonly TanStackActionSubmit: react642.FC<{
2338
- label?: string;
2339
- className?: string;
2340
- }>;
2341
- readonly ArrayCol: typeof ArrayCol;
2342
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2343
- }> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_form_core0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
2344
- readonly TextField: react642.FC<Pick<{
2345
- label: string;
2346
- name: string;
2347
- camelCaseName: string;
2348
- id: string;
2349
- type: "text-field";
2350
- dataType?: "text" | "url" | "email" | "password" | undefined;
2351
- rules?: {
2352
- required?: boolean | undefined;
2353
- maxLength?: number | undefined;
2354
- minLength?: number | undefined;
2355
- exactLength?: number | undefined;
2356
- } | undefined;
2357
- visibilityConditions?: {
2358
- when: string;
2359
- is: any;
2360
- show?: boolean | undefined;
2361
- } | undefined;
2362
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2363
- tooltip?: string | undefined;
2364
- helperText?: string | undefined;
2365
- showErrorMessage?: boolean | undefined;
2366
- counter?: boolean | undefined;
2367
- showClearButton?: boolean | undefined;
2368
- description?: string | undefined;
2369
- placeholder?: string | undefined;
2370
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
2371
- required?: boolean;
2372
- maxLength?: number;
2373
- }>;
2374
- readonly TextareaField: react642.FC<Pick<{
2375
- label: string;
2376
- name: string;
2377
- camelCaseName: string;
2378
- id: string;
2379
- type: "textarea-field";
2380
- rules?: {
2381
- required?: boolean | undefined;
2382
- maxLength?: number | undefined;
2383
- minLength?: number | undefined;
2384
- exactLength?: number | undefined;
2385
- } | undefined;
2386
- visibilityConditions?: {
2387
- when: string;
2388
- is: any;
2389
- show?: boolean | undefined;
2390
- } | undefined;
2391
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2392
- tooltip?: string | undefined;
2393
- helperText?: string | undefined;
2394
- showErrorMessage?: boolean | undefined;
2395
- counter?: boolean | undefined;
2396
- description?: string | undefined;
2397
- placeholder?: string | undefined;
2398
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "counter" | "helperText" | "showErrorMessage"> & {
2399
- required?: boolean;
2400
- maxLength?: number;
2401
- }>;
2402
- readonly TextEditorField: react642.FC<Pick<{
2403
- label: string;
2404
- name: string;
2405
- camelCaseName: string;
2406
- id: string;
2407
- type: "text-editor-field";
2408
- tooltip?: string | undefined;
2409
- helperText?: string | undefined;
2410
- showErrorMessage?: boolean | undefined;
2411
- rules?: {
2412
- required?: boolean | undefined;
2413
- } | undefined;
2414
- description?: string | undefined;
2415
- placeholder?: string | undefined;
2416
- }, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
2417
- required?: boolean;
2418
- }>;
2419
- readonly NumberField: react642.FC<Pick<{
2420
- label: string;
2421
- name: string;
2422
- camelCaseName: string;
2423
- id: string;
2424
- type: "number-field";
2425
- rules?: {
2426
- required?: boolean | undefined;
2427
- min?: {
2428
- value: number;
2429
- inclusive?: boolean | undefined;
2430
- } | undefined;
2431
- max?: {
2432
- value: number;
2433
- inclusive?: boolean | undefined;
2434
- } | undefined;
2435
- integerOnly?: boolean | undefined;
2436
- positiveOnly?: boolean | undefined;
2437
- exactDigits?: number | undefined;
2438
- } | undefined;
2439
- visibilityConditions?: {
2440
- when: string;
2441
- is: any;
2442
- show?: boolean | undefined;
2443
- } | undefined;
2444
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2445
- tooltip?: string | undefined;
2446
- helperText?: string | undefined;
2447
- showErrorMessage?: boolean | undefined;
2448
- defaultValue?: number | undefined;
2449
- rounding?: "up" | "down" | "none" | "nearest" | undefined;
2450
- decimalPlaces?: number | undefined;
2451
- percision?: number | undefined;
2452
- unit?: string | undefined;
2453
- description?: string | undefined;
2454
- placeholder?: string | undefined;
2455
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
2456
- required?: boolean;
2457
- allowNegative?: boolean;
2458
- }>;
2459
- readonly EmailField: react642.FC<Pick<{
2460
- rules: {
2461
- maxLength?: number | undefined;
2462
- minLength?: number | undefined;
2463
- };
2464
- label: string;
2465
- name: string;
2466
- camelCaseName: string;
2467
- id: string;
2468
- type: "email-field";
2469
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2470
- tooltip?: string | undefined;
2471
- helperText?: string | undefined;
2472
- showErrorMessage?: boolean | undefined;
2473
- description?: string | undefined;
2474
- placeholder?: string | undefined;
2475
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
2476
- required?: boolean;
2477
- maxLength?: number;
2478
- }>;
2479
- readonly PasswordField: react642.FC<{
2480
- description?: string | undefined;
2481
- label: string;
2482
- placeholder?: string | undefined;
2483
- tooltip?: string | undefined;
2484
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2485
- helperText?: string | undefined;
2486
- showErrorMessage?: boolean | undefined;
2487
- }>;
2488
- readonly SelectField: react642.FC<Pick<{
2489
- options: {
2490
- label: string;
2491
- value: string;
2492
- }[];
2493
- label: string;
2494
- name: string;
2495
- camelCaseName: string;
2496
- id: string;
2497
- type: "select-field";
2498
- clearable?: boolean | undefined;
2499
- rules?: {
2500
- required?: boolean | undefined;
2501
- } | undefined;
2502
- visibilityConditions?: {
2503
- when: string;
2504
- is: any;
2505
- show?: boolean | undefined;
2506
- } | undefined;
2507
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2508
- tooltip?: string | undefined;
2509
- helperText?: string | undefined;
2510
- defaultValue?: string | undefined;
2511
- description?: string | undefined;
2512
- placeholder?: string | undefined;
2513
- }, "description" | "defaultValue" | "label" | "placeholder" | "tooltip" | "orientation" | "options" | "helperText" | "clearable"> & {
2514
- required?: boolean;
2515
- }>;
2516
- readonly ComboboxField: react642.FC<{
2517
- label: string;
2518
- description?: string;
2519
- placeholder?: string;
2520
- tooltip?: string;
2521
- orientation?: "horizontal" | "vertical" | "responsive";
2522
- options: Array<{
2523
- value: string;
2524
- label: string;
2525
- }>;
2526
- }>;
2527
- readonly DateField: react642.FC<Pick<{
2528
- label: string;
2529
- name: string;
2530
- camelCaseName: string;
2531
- id: string;
2532
- type: "date-field";
2533
- showErrorMessage?: boolean | undefined;
2534
- rules?: {
2535
- required?: boolean | undefined;
2536
- minDate?: Date | undefined;
2537
- maxDate?: Date | undefined;
2538
- } | undefined;
2539
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2540
- tooltip?: string | undefined;
2541
- helperText?: string | undefined;
2542
- defaultValue?: string | undefined;
2543
- description?: string | undefined;
2544
- placeholder?: string | undefined;
2545
- }, "description" | "label" | "placeholder" | "tooltip" | "orientation" | "helperText" | "showErrorMessage"> & {
2546
- required?: boolean;
2547
- minDate?: Date;
2548
- maxDate?: Date;
2549
- }>;
2550
- readonly SwitchField: react642.FC<{
2551
- description?: string | undefined;
2552
- label: string;
2553
- helperText?: string | undefined;
2554
- }>;
2555
- readonly RadioGroupField: react642.FC<{
2556
- description?: string | undefined;
2557
- label: string;
2558
- tooltip?: string | undefined;
2559
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2560
- options: {
2561
- label: string;
2562
- value: string;
2563
- description?: string | undefined;
2564
- }[];
2565
- helperText?: string | undefined;
2566
- }>;
2567
- readonly CheckboxField: react642.FC<{
2568
- description?: string | undefined;
2569
- label: string;
2570
- tooltip?: string | undefined;
2571
- orientation?: "vertical" | "horizontal" | "responsive" | undefined;
2572
- options: {
2573
- label: string;
2574
- value: string;
2575
- }[];
2576
- helperText?: string | undefined;
2577
- }>;
2578
- readonly SimpleTextField: react642.FC<{
2579
- label?: string;
2580
- placeholder?: string;
2581
- required?: boolean;
2582
- maxLength?: number;
2583
- disabled?: boolean;
2584
- }>;
2585
- readonly SimpleEmailField: react642.FC<{
2586
- label?: string;
2587
- placeholder?: string;
2588
- required?: boolean;
2589
- maxLength?: number;
2590
- disabled?: boolean;
2591
- }>;
2592
- readonly SimplePasswordField: react642.FC<{
2593
- label?: string;
2594
- placeholder?: string;
2595
- required?: boolean;
2596
- disabled?: boolean;
2597
- }>;
2598
- readonly SimpleTextareaField: react642.FC<{
2599
- label?: string;
2600
- placeholder?: string;
2601
- required?: boolean;
2602
- maxLength?: number;
2603
- rows?: number;
2604
- disabled?: boolean;
2605
- }>;
2606
- readonly SimpleNumberField: react642.FC<{
2607
- label?: string;
2608
- placeholder?: string;
2609
- required?: boolean;
2610
- unit?: string;
2611
- allowNegative?: boolean;
2612
- disabled?: boolean;
2613
- }>;
2614
- readonly SimpleSelectField: react642.FC<{
2615
- label?: string;
2616
- placeholder?: string;
2617
- required?: boolean;
2618
- options: Array<{
2619
- value: string;
2620
- label: string;
2621
- }>;
2622
- }>;
2623
- readonly SimpleArrayField: typeof SimpleArrayField;
2624
- readonly SimpleBooleanField: react642.FC<{
2625
- label?: string;
2626
- required?: boolean;
2627
- disabled?: boolean;
2628
- variant?: "checkbox" | "switch";
2629
- }>;
2630
- readonly SimpleComboboxField: react642.FC<{
2631
- label?: string;
2632
- placeholder?: string;
2633
- required?: boolean;
2634
- disabled?: boolean;
2635
- options: Array<{
2636
- value: string;
2637
- label: string;
2638
- }>;
2639
- }>;
2640
- readonly SimpleDateField: react642.FC<{
2641
- label?: string;
2642
- placeholder?: string;
2643
- required?: boolean;
2644
- disabled?: boolean;
2645
- minDate?: Date;
2646
- maxDate?: Date;
2647
- }>;
2648
- readonly SimpleRadioGroupField: react642.FC<{
2649
- label?: string;
2650
- required?: boolean;
2651
- disabled?: boolean;
2652
- options: Array<{
2653
- value: string;
2654
- label: string;
2655
- }>;
2656
- orientation?: "horizontal" | "vertical";
2657
- }>;
2658
- readonly FieldGroup: react642.MemoExoticComponent<({
2659
- className,
2660
- ...props
2661
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2662
- readonly Field: react642.MemoExoticComponent<({
2663
- className,
2664
- orientation,
2665
- ...props
2666
- }: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
2667
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
2668
- } & class_variance_authority_types23.ClassProp) | undefined) => string>) => react642.JSX.Element>;
2669
- readonly FieldContent: react642.MemoExoticComponent<({
2670
- className,
2671
- ...props
2672
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2673
- readonly FieldLabel: react642.MemoExoticComponent<({
2674
- className,
2675
- ...props
2676
- }: React.ComponentProps<typeof Label$1>) => react642.JSX.Element>;
2677
- readonly FieldContentMain: react642.MemoExoticComponent<({
2678
- className,
2679
- ...props
2680
- }: React.ComponentProps<"div">) => react642.JSX.Element>;
2681
- readonly FieldSeparator: react642.MemoExoticComponent<({
2682
- children,
2683
- className,
2684
- ...props
2685
- }: React.PropsWithChildren<React.ComponentProps<"div">>) => react642.JSX.Element>;
2686
- readonly FieldError: react642.MemoExoticComponent<({
2687
- className,
2688
- children,
2689
- errors,
2690
- ...props
2691
- }: react642.ClassAttributes<HTMLDivElement> & react642.HTMLAttributes<HTMLDivElement> & {
2692
- errors?: Array<{
2693
- code?: string;
2694
- message?: string;
2695
- } | undefined>;
2696
- }) => react642.JSX.Element | null>;
2697
- }, {
2698
- readonly TanStackDialogForm: react642.FC<react642.PropsWithChildren<{
2699
- title: string;
2700
- submitText?: string;
2701
- width?: number | string;
2702
- maxWidth?: number | string;
2703
- className?: string;
2704
- open?: boolean;
2705
- onOpenChange?: (open: boolean) => void;
2706
- }>>;
2707
- readonly TanStackPopoverForm: react642.FC<react642.PropsWithChildren<{
2708
- title: string;
2709
- open?: boolean;
2710
- contentClassName?: string;
2711
- onOpenChange?: (open: boolean) => void;
2712
- }>>;
2713
- readonly TanStackContainerForm: react642.FC<{
2714
- children?: react642.ReactNode | undefined;
2715
- }>;
2716
- readonly TanStackSectionForm: react642.FC<react642.PropsWithChildren<{
2717
- title: string;
2718
- }>>;
2719
- readonly TanStackCardForm: react642.FC<react642.PropsWithChildren<{
2720
- title: string;
2721
- description?: string;
2722
- onDelete?: () => void | Promise<void>;
2723
- }>>;
2724
- readonly TanStackFieldGroup: react642.FC<react642.PropsWithChildren<{
2725
- label: string;
2726
- description?: string;
2727
- helperText?: string;
2728
- orientation?: "horizontal" | "vertical" | "responsive";
2729
- }>>;
2730
- readonly TanStackTitleField: react642.FC<{
2731
- title: string;
2732
- description?: string;
2733
- helperText?: string;
2734
- }>;
2735
- readonly TanStackActionsForm: react642.FC<react642.PropsWithChildren<{
2736
- type?: "create" | "update";
2737
- }>>;
2738
- readonly TanStackActionSubmit: react642.FC<{
2739
- label?: string;
2740
- className?: string;
2741
- }>;
2742
- readonly ArrayCol: typeof ArrayCol;
2743
- readonly ArrayHeaderRow: typeof ArrayHeaderRow;
2744
- }>;
2745
- fields: TFields;
2746
- }>) => ReturnType<react642.FunctionComponent>;
2747
- //#endregion
2748
- export { withTanStackForm as a, FieldContentMain as c, FieldLabel as d, FieldSeparator as f, withTanStackFieldGroup as i, FieldError as l, useTanStackForm as n, Field as o, useTanStackFormContext as r, FieldContent as s, useTanStackFieldContext as t, FieldGroup as u };
2749
- //# sourceMappingURL=index-CL3z9hOc.d.cts.map