@npm-zenwork/tax-remittance-ui 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/dist/api/stateForms.d.ts +20 -0
  2. package/dist/api/taxForms.d.ts +46 -0
  3. package/dist/components/tax-forms/TaxFormDetailPanel.d.ts +6 -0
  4. package/dist/components/tax-forms/TaxFormRecordView.d.ts +4 -0
  5. package/dist/components/tax-forms/TaxFormStatusBadge.d.ts +8 -0
  6. package/dist/components/tax-forms/TaxFormsWorklist.d.ts +8 -0
  7. package/dist/components/tax-forms/states/TaxFormEntitySelect.d.ts +13 -0
  8. package/dist/components/tax-forms/states/alabama/AL40ESForm.autofill.d.ts +26 -0
  9. package/dist/components/tax-forms/states/alabama/AL40ESForm.d.ts +50 -0
  10. package/dist/components/tax-forms/states/alabama/AL40ESForm.payload.d.ts +44 -0
  11. package/dist/components/tax-forms/states/alabama/AL40ESForm.preview.d.ts +2 -0
  12. package/dist/components/tax-forms/states/alabama/AL40ESForm.schema.d.ts +43 -0
  13. package/dist/components/tax-forms/states/alabama/ALA3Form.autofill.d.ts +14 -0
  14. package/dist/components/tax-forms/states/alabama/ALA3Form.calc.d.ts +25 -0
  15. package/dist/components/tax-forms/states/alabama/ALA3Form.d.ts +39 -0
  16. package/dist/components/tax-forms/states/alabama/ALA3Form.payload.d.ts +32 -0
  17. package/dist/components/tax-forms/states/alabama/ALA3Form.preview.d.ts +2 -0
  18. package/dist/components/tax-forms/states/alabama/ALA3Form.schema.d.ts +32 -0
  19. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.autofill.d.ts +8 -0
  20. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.calc.d.ts +33 -0
  21. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.d.ts +47 -0
  22. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.payload.d.ts +37 -0
  23. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.preview.d.ts +3 -0
  24. package/dist/components/tax-forms/states/alabama/ALEmployerReturnForm.schema.d.ts +45 -0
  25. package/dist/components/tax-forms/states/alabama/ALWithholding.shared.d.ts +97 -0
  26. package/dist/components/tax-forms/states/alabama/ALWithholdingParts.d.ts +92 -0
  27. package/dist/components/tax-forms/states/arizona/AZ120ESForm.autofill.d.ts +25 -0
  28. package/dist/components/tax-forms/states/arizona/AZ120ESForm.d.ts +57 -0
  29. package/dist/components/tax-forms/states/arizona/AZ120ESForm.payload.d.ts +44 -0
  30. package/dist/components/tax-forms/states/arizona/AZ120ESForm.preview.d.ts +2 -0
  31. package/dist/components/tax-forms/states/arizona/AZ120ESForm.schema.d.ts +42 -0
  32. package/dist/components/tax-forms/states/arizona/AZ140ESForm.autofill.d.ts +26 -0
  33. package/dist/components/tax-forms/states/arizona/AZ140ESForm.d.ts +54 -0
  34. package/dist/components/tax-forms/states/arizona/AZ140ESForm.payload.d.ts +46 -0
  35. package/dist/components/tax-forms/states/arizona/AZ140ESForm.preview.d.ts +2 -0
  36. package/dist/components/tax-forms/states/arizona/AZ140ESForm.schema.d.ts +81 -0
  37. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.autofill.d.ts +14 -0
  38. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.calc.d.ts +26 -0
  39. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.d.ts +89 -0
  40. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.payload.d.ts +91 -0
  41. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.preview.d.ts +2 -0
  42. package/dist/components/tax-forms/states/arizona/AZA1QRTForm.schema.d.ts +165 -0
  43. package/dist/components/tax-forms/states/arizona/AZA1RForm.autofill.d.ts +13 -0
  44. package/dist/components/tax-forms/states/arizona/AZA1RForm.calc.d.ts +15 -0
  45. package/dist/components/tax-forms/states/arizona/AZA1RForm.d.ts +50 -0
  46. package/dist/components/tax-forms/states/arizona/AZA1RForm.payload.d.ts +47 -0
  47. package/dist/components/tax-forms/states/arizona/AZA1RForm.preview.d.ts +2 -0
  48. package/dist/components/tax-forms/states/arizona/AZA1RForm.schema.d.ts +46 -0
  49. package/dist/components/tax-forms/states/arizona/AZA1WPForm.autofill.d.ts +15 -0
  50. package/dist/components/tax-forms/states/arizona/AZA1WPForm.d.ts +29 -0
  51. package/dist/components/tax-forms/states/arizona/AZA1WPForm.payload.d.ts +17 -0
  52. package/dist/components/tax-forms/states/arizona/AZA1WPForm.preview.d.ts +2 -0
  53. package/dist/components/tax-forms/states/arizona/AZA1WPForm.schema.d.ts +11 -0
  54. package/dist/components/tax-forms/states/arizona/AZWithholding.shared.d.ts +114 -0
  55. package/dist/components/tax-forms/states/arizona/AZWithholdingParts.d.ts +63 -0
  56. package/dist/components/tax-forms/states/arkansas/AR1000ESForm.autofill.d.ts +26 -0
  57. package/dist/components/tax-forms/states/arkansas/AR1000ESForm.d.ts +48 -0
  58. package/dist/components/tax-forms/states/arkansas/AR1000ESForm.payload.d.ts +39 -0
  59. package/dist/components/tax-forms/states/arkansas/AR1000ESForm.preview.d.ts +2 -0
  60. package/dist/components/tax-forms/states/arkansas/AR1000ESForm.schema.d.ts +28 -0
  61. package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.autofill.d.ts +25 -0
  62. package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.d.ts +46 -0
  63. package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.payload.d.ts +34 -0
  64. package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.preview.d.ts +2 -0
  65. package/dist/components/tax-forms/states/arkansas/AR1100ESCTForm.schema.d.ts +29 -0
  66. package/dist/components/tax-forms/states/arkansas/AR941MForm.autofill.d.ts +29 -0
  67. package/dist/components/tax-forms/states/arkansas/AR941MForm.calc.d.ts +24 -0
  68. package/dist/components/tax-forms/states/arkansas/AR941MForm.d.ts +52 -0
  69. package/dist/components/tax-forms/states/arkansas/AR941MForm.payload.d.ts +49 -0
  70. package/dist/components/tax-forms/states/arkansas/AR941MForm.preview.d.ts +2 -0
  71. package/dist/components/tax-forms/states/arkansas/AR941MForm.schema.d.ts +69 -0
  72. package/dist/components/tax-forms/states/california/CA100ESForm.autofill.d.ts +25 -0
  73. package/dist/components/tax-forms/states/california/CA100ESForm.d.ts +58 -0
  74. package/dist/components/tax-forms/states/california/CA100ESForm.payload.d.ts +43 -0
  75. package/dist/components/tax-forms/states/california/CA100ESForm.preview.d.ts +2 -0
  76. package/dist/components/tax-forms/states/california/CA100ESForm.schema.d.ts +53 -0
  77. package/dist/components/tax-forms/states/california/CA540ESForm.autofill.d.ts +25 -0
  78. package/dist/components/tax-forms/states/california/CA540ESForm.d.ts +50 -0
  79. package/dist/components/tax-forms/states/california/CA540ESForm.payload.d.ts +42 -0
  80. package/dist/components/tax-forms/states/california/CA540ESForm.preview.d.ts +2 -0
  81. package/dist/components/tax-forms/states/california/CA540ESForm.schema.d.ts +48 -0
  82. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.autofill.d.ts +36 -0
  83. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.calc.d.ts +37 -0
  84. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.d.ts +63 -0
  85. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.payload.d.ts +66 -0
  86. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.preview.d.ts +3 -0
  87. package/dist/components/tax-forms/states/colorado/COAnnualTransmittalForm.schema.d.ts +41 -0
  88. package/dist/components/tax-forms/states/colorado/COWithholding.shared.d.ts +14 -0
  89. package/dist/components/tax-forms/states/colorado/COWithholdingParts.d.ts +36 -0
  90. package/dist/components/tax-forms/states/colorado/DR0104EPForm.autofill.d.ts +24 -0
  91. package/dist/components/tax-forms/states/colorado/DR0104EPForm.d.ts +44 -0
  92. package/dist/components/tax-forms/states/colorado/DR0104EPForm.payload.d.ts +35 -0
  93. package/dist/components/tax-forms/states/colorado/DR0104EPForm.preview.d.ts +2 -0
  94. package/dist/components/tax-forms/states/colorado/DR0104EPForm.schema.d.ts +21 -0
  95. package/dist/components/tax-forms/states/colorado/DR0112EPForm.autofill.d.ts +24 -0
  96. package/dist/components/tax-forms/states/colorado/DR0112EPForm.d.ts +51 -0
  97. package/dist/components/tax-forms/states/colorado/DR0112EPForm.payload.d.ts +37 -0
  98. package/dist/components/tax-forms/states/colorado/DR0112EPForm.preview.d.ts +2 -0
  99. package/dist/components/tax-forms/states/colorado/DR0112EPForm.schema.d.ts +40 -0
  100. package/dist/components/tax-forms/states/colorado/DR1094Form.autofill.d.ts +36 -0
  101. package/dist/components/tax-forms/states/colorado/DR1094Form.calc.d.ts +20 -0
  102. package/dist/components/tax-forms/states/colorado/DR1094Form.d.ts +82 -0
  103. package/dist/components/tax-forms/states/colorado/DR1094Form.payload.d.ts +55 -0
  104. package/dist/components/tax-forms/states/colorado/DR1094Form.preview.d.ts +2 -0
  105. package/dist/components/tax-forms/states/colorado/DR1094Form.schema.d.ts +37 -0
  106. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.autofill.d.ts +25 -0
  107. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.d.ts +47 -0
  108. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.payload.d.ts +39 -0
  109. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.preview.d.ts +2 -0
  110. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.schema.d.ts +21 -0
  111. package/dist/components/tax-forms/states/connecticut/CT1040ESForm.shared.d.ts +35 -0
  112. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.autofill.d.ts +24 -0
  113. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.d.ts +48 -0
  114. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.payload.d.ts +35 -0
  115. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.preview.d.ts +2 -0
  116. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.schema.d.ts +21 -0
  117. package/dist/components/tax-forms/states/connecticut/CT1120ESForm.shared.d.ts +54 -0
  118. package/dist/components/tax-forms/states/delaware/DECMPESTForm.autofill.d.ts +32 -0
  119. package/dist/components/tax-forms/states/delaware/DECMPESTForm.d.ts +48 -0
  120. package/dist/components/tax-forms/states/delaware/DECMPESTForm.payload.d.ts +38 -0
  121. package/dist/components/tax-forms/states/delaware/DECMPESTForm.preview.d.ts +2 -0
  122. package/dist/components/tax-forms/states/delaware/DECMPESTForm.schema.d.ts +20 -0
  123. package/dist/components/tax-forms/states/delaware/DEEstimated.shared.d.ts +31 -0
  124. package/dist/components/tax-forms/states/delaware/DEPITESTForm.autofill.d.ts +25 -0
  125. package/dist/components/tax-forms/states/delaware/DEPITESTForm.d.ts +43 -0
  126. package/dist/components/tax-forms/states/delaware/DEPITESTForm.payload.d.ts +37 -0
  127. package/dist/components/tax-forms/states/delaware/DEPITESTForm.preview.d.ts +2 -0
  128. package/dist/components/tax-forms/states/delaware/DEPITESTForm.schema.d.ts +17 -0
  129. package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.autofill.d.ts +24 -0
  130. package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.d.ts +49 -0
  131. package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.payload.d.ts +35 -0
  132. package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.preview.d.ts +2 -0
  133. package/dist/components/tax-forms/states/district-of-columbia/DCBusinessEstimatedForm.schema.d.ts +18 -0
  134. package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.autofill.d.ts +25 -0
  135. package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.d.ts +47 -0
  136. package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.payload.d.ts +39 -0
  137. package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.preview.d.ts +2 -0
  138. package/dist/components/tax-forms/states/district-of-columbia/DCD40ESForm.schema.d.ts +21 -0
  139. package/dist/components/tax-forms/states/district-of-columbia/DCEstimated.shared.d.ts +21 -0
  140. package/dist/components/tax-forms/states/district-of-columbia/DCEstimatedParts.d.ts +5 -0
  141. package/dist/components/tax-forms/states/estimatedFormParts.d.ts +125 -0
  142. package/dist/components/tax-forms/states/georgia/GA500ESForm.autofill.d.ts +25 -0
  143. package/dist/components/tax-forms/states/georgia/GA500ESForm.d.ts +49 -0
  144. package/dist/components/tax-forms/states/georgia/GA500ESForm.payload.d.ts +37 -0
  145. package/dist/components/tax-forms/states/georgia/GA500ESForm.preview.d.ts +2 -0
  146. package/dist/components/tax-forms/states/georgia/GA500ESForm.schema.d.ts +26 -0
  147. package/dist/components/tax-forms/states/georgia/GA602ESForm.autofill.d.ts +33 -0
  148. package/dist/components/tax-forms/states/georgia/GA602ESForm.d.ts +54 -0
  149. package/dist/components/tax-forms/states/georgia/GA602ESForm.payload.d.ts +44 -0
  150. package/dist/components/tax-forms/states/georgia/GA602ESForm.preview.d.ts +2 -0
  151. package/dist/components/tax-forms/states/georgia/GA602ESForm.schema.d.ts +32 -0
  152. package/dist/components/tax-forms/states/georgia/GAEstimated.shared.d.ts +14 -0
  153. package/dist/components/tax-forms/states/hawaii/HIN200VForm.autofill.d.ts +19 -0
  154. package/dist/components/tax-forms/states/hawaii/HIN200VForm.d.ts +43 -0
  155. package/dist/components/tax-forms/states/hawaii/HIN200VForm.payload.d.ts +30 -0
  156. package/dist/components/tax-forms/states/hawaii/HIN200VForm.preview.d.ts +2 -0
  157. package/dist/components/tax-forms/states/hawaii/HIN200VForm.schema.d.ts +18 -0
  158. package/dist/components/tax-forms/states/hawaii/HIN201VForm.autofill.d.ts +20 -0
  159. package/dist/components/tax-forms/states/hawaii/HIN201VForm.d.ts +39 -0
  160. package/dist/components/tax-forms/states/hawaii/HIN201VForm.payload.d.ts +25 -0
  161. package/dist/components/tax-forms/states/hawaii/HIN201VForm.preview.d.ts +2 -0
  162. package/dist/components/tax-forms/states/hawaii/HIN201VForm.schema.d.ts +31 -0
  163. package/dist/components/tax-forms/states/hawaii/HIPaymentVoucher.shared.d.ts +13 -0
  164. package/dist/components/tax-forms/states/hawaii/HIPaymentVoucherParts.d.ts +23 -0
  165. package/dist/components/tax-forms/states/idaho/IDEstimated.shared.d.ts +9 -0
  166. package/dist/components/tax-forms/states/idaho/IDForm51.autofill.d.ts +25 -0
  167. package/dist/components/tax-forms/states/idaho/IDForm51.d.ts +46 -0
  168. package/dist/components/tax-forms/states/idaho/IDForm51.payload.d.ts +40 -0
  169. package/dist/components/tax-forms/states/idaho/IDForm51.preview.d.ts +2 -0
  170. package/dist/components/tax-forms/states/idaho/IDForm51.schema.d.ts +20 -0
  171. package/dist/components/tax-forms/states/illinois/ILEstimated.shared.d.ts +24 -0
  172. package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.autofill.d.ts +25 -0
  173. package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.d.ts +46 -0
  174. package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.payload.d.ts +41 -0
  175. package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.preview.d.ts +2 -0
  176. package/dist/components/tax-forms/states/illinois/ILIL1040ESForm.schema.d.ts +19 -0
  177. package/dist/components/tax-forms/states/illinois/ILIL1120VForm.autofill.d.ts +24 -0
  178. package/dist/components/tax-forms/states/illinois/ILIL1120VForm.d.ts +46 -0
  179. package/dist/components/tax-forms/states/illinois/ILIL1120VForm.payload.d.ts +33 -0
  180. package/dist/components/tax-forms/states/illinois/ILIL1120VForm.preview.d.ts +2 -0
  181. package/dist/components/tax-forms/states/illinois/ILIL1120VForm.schema.d.ts +19 -0
  182. package/dist/components/tax-forms/states/south-carolina/SCWithholding.shared.d.ts +34 -0
  183. package/dist/components/tax-forms/states/south-carolina/SCWithholdingParts.d.ts +70 -0
  184. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.autofill.d.ts +33 -0
  185. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.calc.d.ts +60 -0
  186. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.d.ts +68 -0
  187. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.payload.d.ts +74 -0
  188. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.preview.d.ts +3 -0
  189. package/dist/components/tax-forms/states/south-carolina/SCWithholdingReturnForm.schema.d.ts +70 -0
  190. package/dist/components/tax-forms/states/stateFormKit.d.ts +88 -9
  191. package/dist/components/tax-forms/states/useStateTaxForm.d.ts +65 -0
  192. package/dist/components/tax-forms/states/virginia/VA15Form.autofill.d.ts +31 -0
  193. package/dist/components/tax-forms/states/virginia/VA16Form.autofill.d.ts +33 -0
  194. package/dist/components/tax-forms/states/virginia/VA500ESForm.autofill.d.ts +27 -0
  195. package/dist/components/tax-forms/states/virginia/VA500ESForm.d.ts +52 -0
  196. package/dist/components/tax-forms/states/virginia/VA500ESForm.payload.d.ts +43 -0
  197. package/dist/components/tax-forms/states/virginia/VA500ESForm.preview.d.ts +2 -0
  198. package/dist/components/tax-forms/states/virginia/VA500ESForm.schema.d.ts +24 -0
  199. package/dist/components/tax-forms/states/virginia/VA5Form.autofill.d.ts +34 -0
  200. package/dist/components/tax-forms/states/virginia/VA6Form.autofill.d.ts +32 -0
  201. package/dist/components/tax-forms/states/virginia/VA760ESForm.autofill.d.ts +26 -0
  202. package/dist/components/tax-forms/states/virginia/VA760ESForm.d.ts +43 -43
  203. package/dist/components/tax-forms/states/virginia/VA760ESForm.payload.d.ts +45 -0
  204. package/dist/components/tax-forms/states/virginia/VA760ESForm.schema.d.ts +26 -0
  205. package/dist/components/tax-forms/states/virginia/VAEstimated.shared.d.ts +26 -0
  206. package/dist/components/tax-forms/states/virginia/VAWithholdingBoundForms.d.ts +39 -0
  207. package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.autofill.d.ts +4 -0
  208. package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.calc.d.ts +14 -0
  209. package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.d.ts +19 -0
  210. package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.payload.d.ts +26 -0
  211. package/dist/components/tax-forms/states/west-virginia/WVIT101AForm.schema.d.ts +38 -0
  212. package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.autofill.d.ts +4 -0
  213. package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.calc.d.ts +41 -0
  214. package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.d.ts +23 -0
  215. package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.payload.d.ts +30 -0
  216. package/dist/components/tax-forms/states/west-virginia/WVIT101QForm.schema.d.ts +43 -0
  217. package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.autofill.d.ts +4 -0
  218. package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.calc.d.ts +3 -0
  219. package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.d.ts +12 -0
  220. package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.payload.d.ts +15 -0
  221. package/dist/components/tax-forms/states/west-virginia/WVIT101VForm.schema.d.ts +16 -0
  222. package/dist/components/tax-forms/states/west-virginia/WVIT103Form.autofill.d.ts +4 -0
  223. package/dist/components/tax-forms/states/west-virginia/WVIT103Form.calc.d.ts +13 -0
  224. package/dist/components/tax-forms/states/west-virginia/WVIT103Form.d.ts +22 -0
  225. package/dist/components/tax-forms/states/west-virginia/WVIT103Form.payload.d.ts +29 -0
  226. package/dist/components/tax-forms/states/west-virginia/WVIT103Form.schema.d.ts +36 -0
  227. package/dist/components/tax-forms/states/west-virginia/WVWithholding.preview.d.ts +5 -0
  228. package/dist/components/tax-forms/states/west-virginia/WVWithholding.shared.d.ts +170 -0
  229. package/dist/components/tax-forms/states/west-virginia/WVWithholdingParts.d.ts +129 -0
  230. package/dist/components/tax-forms/states/west-virginia/useWVWithholdingForm.d.ts +62 -0
  231. package/dist/components/tax-forms/taxFormReason.d.ts +9 -0
  232. package/dist/components/tax-forms/taxFormRegistry.d.ts +45 -0
  233. package/dist/components/ui/CalendarPicker.d.ts +17 -0
  234. package/dist/index.cjs +33 -33
  235. package/dist/index.cjs.map +1 -1
  236. package/dist/index.mjs +26040 -9693
  237. package/dist/index.mjs.map +1 -1
  238. package/dist/lib/fieldRules.d.ts +42 -0
  239. package/dist/lib/fieldSchemas.d.ts +39 -0
  240. package/dist/styles.css +1 -1
  241. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- export interface AmountParts {
3
- dollars: string;
4
- cents: string;
5
- }
2
+ import { AmountParts } from '../../../lib/fieldRules';
3
+ export type { AmountParts };
6
4
  /** The white "paper" a return is laid out on. */
7
- export declare function FormSheet({ children }: {
5
+ export declare function FormSheet({ children, backgroundClassName, }: {
8
6
  children: ReactNode;
7
+ /** Override the sheet's background for a form with its own brand tint. */
8
+ backgroundClassName?: string;
9
9
  }): import("react").JSX.Element;
10
10
  /** Outer rule around a group of `BoxedRow`s. */
11
11
  export declare function BoxedGroup({ children }: {
@@ -45,28 +45,48 @@ export declare function AmountBox({ amount, label }: {
45
45
  * The same field, filled in by the taxpayer. White rather than filled so a line
46
46
  * that wants an entry reads differently from one the payment already answered.
47
47
  */
48
- export declare function AmountInput({ amount, label, onChange, }: {
48
+ export declare function AmountInput({ amount, label, onChange, onBlur, error, }: {
49
49
  amount: AmountParts;
50
50
  label: string;
51
51
  onChange: (amount: AmountParts) => void;
52
+ /** Fires once focus leaves both boxes — not on every keystroke — so a caller
53
+ * can validate "as the user finishes this field" instead of mid-type. */
54
+ onBlur?: () => void;
55
+ /** Shown below the boxes, and turns them red, when this line failed validation. */
56
+ error?: string;
52
57
  }): import("react").JSX.Element;
53
58
  /** Read-only box or input, chosen by whether the caller passes a handler. */
54
- export declare function AmountField({ amount, label, onChange, }: {
59
+ export declare function AmountField({ amount, label, onChange, onBlur, error, }: {
55
60
  amount: AmountParts;
56
61
  label: string;
57
62
  onChange?: (amount: AmountParts) => void;
63
+ /** Only meaningful while editing — a read-only box never fires blur validation. */
64
+ onBlur?: () => void;
65
+ /** Only meaningful while editing — a read-only box never fails validation. */
66
+ error?: string;
58
67
  }): import("react").JSX.Element;
59
68
  /**
60
69
  * A rule with its caption underneath, as the return prints it. Supply
61
70
  * `onChange` for the lines the taxpayer signs and dates; leave it off for
62
71
  * anything the payment already answered.
63
72
  */
64
- export declare function SignatureLine({ caption, value, placeholder, onChange, maxLength, }: {
73
+ export declare function SignatureLine({ caption, value, placeholder, onChange, onBlur, maxLength, error, labelPosition, customClassName, }: {
65
74
  caption: string;
66
75
  value?: string;
67
76
  placeholder?: string;
68
77
  onChange?: (value: string) => void;
78
+ onBlur?: () => void;
69
79
  maxLength?: number;
80
+ /** Only meaningful while editing — a read-only line never fails validation. */
81
+ error?: string;
82
+ /**
83
+ * `'below'` (default) is the printed-form signature line — the rule
84
+ * first, the caption explaining it underneath. Pass `'above'` for an
85
+ * ordinary labeled field instead — caption first, value/rule below.
86
+ */
87
+ labelPosition?: 'above' | 'below';
88
+ /** Extra classes merged onto the outer wrapper, for a one-off layout tweak that doesn't belong in the shared component. */
89
+ customClassName?: string;
70
90
  }): import("react").JSX.Element;
71
91
  export type FormMode = 'preview' | 'edit';
72
92
  /**
@@ -83,13 +103,14 @@ export declare function FormActions({ mode, onBack, onEdit, onCancel, onSubmit,
83
103
  submitLabel: string;
84
104
  isSubmitting?: boolean;
85
105
  }): import("react").JSX.Element;
106
+ export declare function BackArrowIcon(): import("react").JSX.Element;
86
107
  /**
87
108
  * One numbered money line: `3. Adjustment Total [ 2,450 . 00 ]`.
88
109
  *
89
110
  * `columns` lets a form match its own printed proportions — VA-5 gives the
90
111
  * amount more room than VA-16 does.
91
112
  */
92
- export declare function AmountLine({ number, label, hint, amount, onAmountChange, columns, }: {
113
+ export declare function AmountLine({ number, label, hint, amount, onAmountChange, onBlur, error, columns, numberClassName, }: {
93
114
  number: number;
94
115
  label: string;
95
116
  /** Small print under the label, e.g. `(See Instructions)`. */
@@ -97,5 +118,63 @@ export declare function AmountLine({ number, label, hint, amount, onAmountChange
97
118
  amount: AmountParts;
98
119
  /** Supplied for lines the taxpayer fills in; omitted for payment-bound lines. */
99
120
  onAmountChange?: (amount: AmountParts) => void;
121
+ onBlur?: () => void;
122
+ /** Shown below the amount box, and turns it red, when this line failed validation. */
123
+ error?: string;
100
124
  columns?: string;
125
+ /** Style for just the number/dot prefix — pass a form's own brand color here. */
126
+ numberClassName?: string;
127
+ }): import("react").JSX.Element;
128
+ /**
129
+ * A date field the taxpayer can either type into (auto-formatted as
130
+ * `MM/DD/YYYY` while typing, not left as a bare run of digits) or pick from a
131
+ * calendar dropdown — the same calendar `payments/SettlementDatePicker` uses,
132
+ * via the shared `CalendarPicker`, just without that component's settlement
133
+ * min/max window (a fiscal-year date isn't bound to "today plus a year").
134
+ * Read-only (no `onChange`) renders as plain text, matching every other
135
+ * field in this file.
136
+ */
137
+ export declare function DateInput({ value, onChange, onBlur, placeholder, error, }: {
138
+ value?: string;
139
+ onChange?: (value: string) => void;
140
+ onBlur?: () => void;
141
+ placeholder?: string;
142
+ /** Shown below the field, and turns it red, when this date failed validation. */
143
+ error?: string;
144
+ }): import("react").JSX.Element;
145
+ /**
146
+ * One printed voucher line: `Label: ____________`. The label sits inline
147
+ * before the rule rather than above it, matching a tear-off voucher's layout
148
+ * — unlike `SignatureLine`'s caption-under-value layout, used for actual
149
+ * signature/date lines elsewhere on a return. Shared here (rather than kept
150
+ * local to one form) so the next voucher-style form doesn't redeclare it.
151
+ */
152
+ export declare function InlineVoucherLine({ label, value, placeholder, onChange, onBlur, prefix, bulleted, error, type, }: {
153
+ label: string;
154
+ value?: string;
155
+ placeholder?: string;
156
+ onChange?: (value: string) => void;
157
+ onBlur?: () => void;
158
+ /** e.g. `$` before the amount on "Amount Paid With Voucher". */
159
+ prefix?: string;
160
+ /** The printed voucher marks some lines with a leading bullet; purely visual. */
161
+ bulleted?: boolean;
162
+ /** Only meaningful while editing — a read-only line never fails validation. */
163
+ error?: string;
164
+ /** `'date'` swaps the plain text box for `DateInput`'s calendar-and-typing control. */
165
+ type?: 'text' | 'date';
166
+ }): import("react").JSX.Element;
167
+ /**
168
+ * Line number and wording, matching a printed worksheet's numbered-line
169
+ * style. Spans two grid columns by default, matching the inner/outer split
170
+ * `AL40ESForm`'s worksheet grid uses — pass `className` for a different grid.
171
+ */
172
+ export declare function LineDescription({ number, text, numberClassName, textClassName, className, }: {
173
+ number: number;
174
+ text: string;
175
+ /** Style for just the number/dot prefix — pass a form's own brand color here. */
176
+ numberClassName?: string;
177
+ /** Style for the line's own text, e.g. a form's own preferred font size. */
178
+ textClassName?: string;
179
+ className?: string;
101
180
  }): import("react").JSX.Element;
@@ -0,0 +1,65 @@
1
+ import { z } from 'zod';
2
+ import { StateFormSubmitResponse } from '../../../api/stateForms';
3
+ import { FormMode } from './stateFormKit';
4
+ import { EntityDetailsResponse } from '../../../types/entity';
5
+ interface Options<V, P extends {
6
+ formCode: string;
7
+ state: string;
8
+ }> {
9
+ /** How the success toast names the form — "Form CT-1040ES submitted". */
10
+ formLabel: string;
11
+ schema: z.ZodType;
12
+ initialValues: V;
13
+ buildPayload: (values: V) => P;
14
+ /** Clears whatever the new entries switch off (e.g. fiscal dates on a calendar year) before they're saved. */
15
+ normalize?: (values: V) => V;
16
+ /** What a chosen entity fills in. */
17
+ fieldsFromEntity?: (entity: EntityDetailsResponse) => Partial<V>;
18
+ onValuesChange?: (values: V) => void;
19
+ onSubmitted?: (response: StateFormSubmitResponse) => void;
20
+ /**
21
+ * Estimated/Income Tax forms are view + download-PDF only — the state receives them another
22
+ * way, not uploaded through this platform (unlike Withholding forms, which are). When true,
23
+ * locks the form permanently in preview: Edit/Submit never unlock, regardless of status.
24
+ */
25
+ readOnly?: boolean;
26
+ }
27
+ interface FieldOptions {
28
+ /** Applied to every keystroke — digits only, a date mask, upper-casing… */
29
+ format?: (value: string) => string;
30
+ /** `false` locks the field even while editing — e.g. a date whose option isn't chosen. */
31
+ enabled?: boolean;
32
+ /** Other fields whose rules depend on this one, re-checked when it's left. */
33
+ alsoCheck?: string[];
34
+ }
35
+ export declare function useStateTaxForm<V, P extends {
36
+ formCode: string;
37
+ state: string;
38
+ }>({ formLabel, schema, initialValues, buildPayload, normalize, fieldsFromEntity, onValuesChange, onSubmitted, readOnly, }: Options<V, P>): {
39
+ values: V;
40
+ mode: FormMode;
41
+ isEditing: boolean;
42
+ fieldErrors: Record<string, string>;
43
+ hasErrors: boolean;
44
+ commit: (raw: V) => void;
45
+ field: (path: string, { format, enabled, alsoCheck }?: FieldOptions) => {
46
+ value: string;
47
+ onChange: ((value: string) => void) | undefined;
48
+ onBlur: () => void;
49
+ error: string;
50
+ };
51
+ shown: (path: string) => {
52
+ value: string;
53
+ error: string;
54
+ };
55
+ choose: (path: string, option: string) => (() => void) | undefined;
56
+ toggle: (path: string) => (() => void) | undefined;
57
+ validateOnBlur: (...keys: string[]) => () => void;
58
+ applyEntity: (entity: EntityDetailsResponse) => void;
59
+ startEditing: () => void;
60
+ cancelEditing: () => void;
61
+ submitForm: () => void;
62
+ isSubmitting: boolean;
63
+ readOnly: boolean;
64
+ };
65
+ export {};
@@ -0,0 +1,31 @@
1
+ import { VA15BoundData, VA15EditableValues } from './VA15Form';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ tradeName?: string | null;
6
+ accountType?: string;
7
+ address1?: string;
8
+ address2?: string | null;
9
+ city?: string;
10
+ state?: string;
11
+ zipCode?: string;
12
+ phone?: string;
13
+ }
14
+ interface AutoFillPayment {
15
+ taxPeriod?: string | null;
16
+ stateAccountId?: string | null;
17
+ amount?: number;
18
+ }
19
+ interface AutoFillAuthorization {
20
+ signerName?: string | null;
21
+ signature?: string | null;
22
+ signatureDate?: string | null;
23
+ }
24
+ export interface AutoFillJson {
25
+ payer?: AutoFillPayer;
26
+ payment?: AutoFillPayment;
27
+ authorization?: AutoFillAuthorization;
28
+ }
29
+ export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson): VA15BoundData;
30
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA15EditableValues>;
31
+ export {};
@@ -0,0 +1,33 @@
1
+ import { VA16BoundData, VA16EditableValues } from './VA16Form';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ tradeName?: string | null;
6
+ accountType?: string;
7
+ ssn?: string;
8
+ address1?: string;
9
+ address2?: string | null;
10
+ city?: string;
11
+ state?: string;
12
+ zipCode?: string;
13
+ phone?: string;
14
+ }
15
+ interface AutoFillPayment {
16
+ taxPeriod?: string | null;
17
+ paymentDate?: string | null;
18
+ stateAccountId?: string | null;
19
+ amount?: number;
20
+ }
21
+ interface AutoFillAuthorization {
22
+ signerName?: string | null;
23
+ signature?: string | null;
24
+ signatureDate?: string | null;
25
+ }
26
+ export interface AutoFillJson {
27
+ payer?: AutoFillPayer;
28
+ payment?: AutoFillPayment;
29
+ authorization?: AutoFillAuthorization;
30
+ }
31
+ export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson): VA16BoundData;
32
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA16EditableValues>;
33
+ export {};
@@ -0,0 +1,27 @@
1
+ import { VA500ESEditableValues } from './VA500ESForm';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ tradeName?: string | null;
6
+ accountType?: string;
7
+ ssn?: string;
8
+ address1?: string;
9
+ address2?: string | null;
10
+ city?: string;
11
+ state?: string;
12
+ zipCode?: string;
13
+ phone?: string;
14
+ }
15
+ interface AutoFillPayment {
16
+ taxYear?: string;
17
+ taxPeriod?: string | null;
18
+ stateAccountId?: string | null;
19
+ amount?: number;
20
+ }
21
+ export interface AutoFillJson {
22
+ entityId?: number;
23
+ payer?: AutoFillPayer;
24
+ payment?: AutoFillPayment;
25
+ }
26
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA500ESEditableValues>;
27
+ export {};
@@ -0,0 +1,52 @@
1
+ import { StateFormSubmitResponse } from '../../../../api/stateForms';
2
+ /**
3
+ * Ids the backend issues once a record exists, sent back on submit so it
4
+ * updates that record. Absent (`null`) for a new voucher. Never shown.
5
+ */
6
+ export interface VA500ESBoundData {
7
+ payerDetailId?: number | null;
8
+ formRecordId?: number | null;
9
+ statePayrollFormId?: number | null;
10
+ }
11
+ export interface VA500ESEditableValues {
12
+ /** The chosen Dashboard business entity. `null` until one is chosen. */
13
+ payerId: number | null;
14
+ name: string;
15
+ fein: string;
16
+ address: string;
17
+ address2: string;
18
+ city: string;
19
+ state: string;
20
+ /** `12345` or `12345-6789`. */
21
+ zipCode: string;
22
+ /** What follows the printed `35-`, e.g. `123456789F-001`. */
23
+ accountNumber: string;
24
+ /** "For mo./yr. ending" — `MM/YY`. */
25
+ monthYearEnding: string;
26
+ /** `'1'`–`'4'`, `''` until chosen. */
27
+ voucher: string;
28
+ /** Line 1 — estimated tax for the year; whole dollars, digits only. */
29
+ estimatedTax: string;
30
+ /** Line 2 — amount of this payment; whole dollars, digits only. */
31
+ payment: string;
32
+ signature: string;
33
+ /** MM/DD/YYYY. */
34
+ signatureDate: string;
35
+ /** Pre-filled from the entity, editable. */
36
+ phone: string;
37
+ }
38
+ interface VA500ESFormProps {
39
+ data: VA500ESBoundData;
40
+ /** Starting entries — anything omitted starts blank. */
41
+ initialValues?: Partial<VA500ESEditableValues>;
42
+ /** Fires on every change with the complete set of entries. */
43
+ onValuesChange?: (values: VA500ESEditableValues) => void;
44
+ /** Leaves the form. Omit to hide the Back button. */
45
+ onBack?: () => void;
46
+ /** Fires after a successful submit, with the API's response. */
47
+ onSubmitted?: (response: StateFormSubmitResponse) => void;
48
+ /** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
49
+ readOnly?: boolean;
50
+ }
51
+ export declare function VA500ESForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: VA500ESFormProps): import("react").JSX.Element;
52
+ export {};
@@ -0,0 +1,43 @@
1
+ import { VA500ESBoundData, VA500ESEditableValues } from './VA500ESForm';
2
+ export interface VA500ESSubmitPayload {
3
+ formCode: '500ES';
4
+ state: 'VA';
5
+ /** The chosen Dashboard entity — a corporation. */
6
+ payerId: number;
7
+ /** Hidden ids the backend issues for an existing record; `null` on a new one. */
8
+ ids: {
9
+ payerDetailId: number | null;
10
+ formRecordId: number | null;
11
+ statePayrollFormId: number | null;
12
+ };
13
+ taxYear: number;
14
+ /** `35-…`, as printed. */
15
+ accountNumber: string;
16
+ /** `MM/YY`. */
17
+ monthYearEnding: string;
18
+ voucher: number;
19
+ /** `MM/DD/YYYY`. */
20
+ dueDate: string;
21
+ corporation: {
22
+ name: string;
23
+ fein: string;
24
+ address: string;
25
+ address2: string | null;
26
+ city: string;
27
+ state: string;
28
+ zipCode: string;
29
+ };
30
+ /** Whole dollars — voucher lines 1 and 2. */
31
+ lines: {
32
+ estimatedTax: number;
33
+ payment: number;
34
+ };
35
+ /** `null` when a later voucher is left unsigned. */
36
+ declaration: {
37
+ signature: string;
38
+ date: string;
39
+ } | null;
40
+ /** 10 digits, or `null` when not given. */
41
+ phone: string | null;
42
+ }
43
+ export declare function buildVA500ESPayload(data: VA500ESBoundData, values: VA500ESEditableValues): VA500ESSubmitPayload;
@@ -0,0 +1,2 @@
1
+ import { VA500ESBoundData } from './VA500ESForm';
2
+ export declare const VA500ES_TEMPORARY_BOUND_DATA: VA500ESBoundData;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export { FORM_TAX_YEAR } from './VAEstimated.shared';
3
+ export declare const AMOUNT_MAX_DIGITS = 10;
4
+ export declare const SIGNATURE_MAX_LENGTH = 60;
5
+ /** What follows the printed `35-`: a digit or `V`, 8 digits, `F`, a hyphen and 3 digits — e.g. `123456789F-001`. */
6
+ export declare const ACCOUNT_NUMBER_REST_PATTERN: RegExp;
7
+ export declare const va500ESSchema: z.ZodObject<{
8
+ payerId: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodString;
10
+ fein: z.ZodString;
11
+ address: z.ZodString;
12
+ address2: z.ZodString;
13
+ city: z.ZodString;
14
+ state: z.ZodString;
15
+ zipCode: z.ZodString;
16
+ accountNumber: z.ZodString;
17
+ monthYearEnding: z.ZodString;
18
+ voucher: z.ZodString;
19
+ estimatedTax: z.ZodString;
20
+ payment: z.ZodString;
21
+ signature: z.ZodString;
22
+ signatureDate: z.ZodString;
23
+ phone: z.ZodString;
24
+ }, z.core.$strip>;
@@ -0,0 +1,34 @@
1
+ import { VA5BoundData, VA5EditableValues } from './VA5Form';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ tradeName?: string | null;
6
+ accountType?: string;
7
+ ssn?: string;
8
+ address1?: string;
9
+ address2?: string | null;
10
+ city?: string;
11
+ state?: string;
12
+ zipCode?: string;
13
+ phone?: string;
14
+ }
15
+ interface AutoFillPayment {
16
+ taxPeriod?: string | null;
17
+ paymentDate?: string | null;
18
+ frequency?: string | null;
19
+ stateAccountId?: string | null;
20
+ amount?: number;
21
+ }
22
+ interface AutoFillAuthorization {
23
+ signerName?: string | null;
24
+ signature?: string | null;
25
+ signatureDate?: string | null;
26
+ }
27
+ export interface AutoFillJson {
28
+ payer?: AutoFillPayer;
29
+ payment?: AutoFillPayment;
30
+ authorization?: AutoFillAuthorization;
31
+ }
32
+ export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson): VA5BoundData;
33
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA5EditableValues>;
34
+ export {};
@@ -0,0 +1,32 @@
1
+ import { VA6BoundData, VA6EditableValues } from './VA6Form';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ tradeName?: string | null;
6
+ accountType?: string;
7
+ ssn?: string;
8
+ address1?: string;
9
+ address2?: string | null;
10
+ city?: string;
11
+ state?: string;
12
+ zipCode?: string;
13
+ phone?: string;
14
+ }
15
+ interface AutoFillPayment {
16
+ taxYear?: string;
17
+ paymentDate?: string | null;
18
+ stateAccountId?: string | null;
19
+ }
20
+ interface AutoFillAuthorization {
21
+ signerName?: string | null;
22
+ signature?: string | null;
23
+ signatureDate?: string | null;
24
+ }
25
+ export interface AutoFillJson {
26
+ payer?: AutoFillPayer;
27
+ payment?: AutoFillPayment;
28
+ authorization?: AutoFillAuthorization;
29
+ }
30
+ export declare function boundDataFromAutoFillJson(autoFill: AutoFillJson): VA6BoundData;
31
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA6EditableValues>;
32
+ export {};
@@ -0,0 +1,26 @@
1
+ import { VA760ESEditableValues } from './VA760ESForm';
2
+ interface AutoFillPayer {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ ssn?: string;
6
+ address1?: string;
7
+ address2?: string | null;
8
+ city?: string;
9
+ state?: string;
10
+ zipCode?: string;
11
+ phone?: string;
12
+ spouseFirstName?: string | null;
13
+ spouseLastName?: string | null;
14
+ spouseSsn?: string | null;
15
+ }
16
+ interface AutoFillPayment {
17
+ taxPeriod?: string | null;
18
+ amount?: number;
19
+ }
20
+ export interface AutoFillJson {
21
+ entityId?: number;
22
+ payer?: AutoFillPayer;
23
+ payment?: AutoFillPayment;
24
+ }
25
+ export declare function fieldsFromAutoFillJson(autoFill: AutoFillJson): Partial<VA760ESEditableValues>;
26
+ export {};
@@ -1,54 +1,54 @@
1
- import { AmountParts } from '../stateFormKit';
2
- /** A Part I line is answered once per column. */
3
- export interface ColumnPair {
4
- /** Column A — spouse, when filing Status 4 on Form 760PY. */
5
- a: AmountParts;
6
- /** Column B — yourself; used by all other filers. */
7
- b: AmountParts;
8
- }
9
- /** Filled in from the state payment — displayed, never edited here. */
1
+ import { StateFormSubmitResponse } from '../../../../api/stateForms';
2
+ /**
3
+ * Ids the backend issues once a record exists, sent back on submit so it
4
+ * updates that record. Absent (`null`) for a new voucher. Never shown.
5
+ */
10
6
  export interface VA760ESBoundData {
11
- /** The year being estimated. Every year printed on the worksheet derives from it. */
12
- taxYear: string;
13
- }
14
- /** Part I — computed separately for each column. */
15
- export interface VA760ESPairValues {
16
- adjustedGrossIncome: ColumnPair;
17
- itemizedDeductions: ColumnPair;
18
- standardDeduction: ColumnPair;
19
- childCareExpenses: ColumnPair;
20
- personalExemptions: ColumnPair;
21
- deductionsTotal: ColumnPair;
22
- taxableIncome: ColumnPair;
23
- incomeTax: ColumnPair;
24
- taxAdjustments: ColumnPair;
25
- estimatedIncomeTax: ColumnPair;
7
+ payerDetailId?: number | null;
8
+ formRecordId?: number | null;
9
+ statePayrollFormId?: number | null;
26
10
  }
27
- export interface VA760ESEditableValues extends VA760ESPairValues {
28
- /** 10 — Line 9, Column A plus Column B. */
29
- totalEstimatedTax: AmountParts;
30
- /** 11 — the amount from Line 10. */
31
- estimatedTax: AmountParts;
32
- /** 12 — expected withholding for the year. */
33
- expectedWithholding: AmountParts;
34
- /** 13 — Line 11 less Line 12. */
35
- estimatedTaxDue: AmountParts;
36
- /** 14 — a count of payments, not a money value. */
37
- numberOfPayments: string;
38
- /** 15 — the installment to enclose payment for. */
39
- installmentAmount: AmountParts;
11
+ export interface VA760ESEditableValues {
12
+ /** The chosen Dashboard individual entity. `null` until one is chosen. */
13
+ payerId: number | null;
14
+ ssn: string;
15
+ firstName: string;
16
+ middleInitial: string;
17
+ lastName: string;
18
+ address: string;
19
+ city: string;
20
+ state: string;
21
+ /** `12345` or `12345-6789`. */
22
+ zipCode: string;
23
+ spouseSsn: string;
24
+ spouseFirstName: string;
25
+ spouseMiddleInitial: string;
26
+ spouseLastName: string;
27
+ /** Pre-filled from the entity, editable. */
28
+ daytimePhone: string;
29
+ /** `'1'`–`'4'`, `''` until chosen. */
30
+ voucher: string;
31
+ /** "Check if this is a new address." */
32
+ isNewAddress: boolean;
33
+ /** "Check here if this is your first payment for this taxable year." */
34
+ isFirstPayment: boolean;
35
+ /** The 3-digit code of the city or county the voucher is filed with. */
36
+ localityNumber: string;
37
+ /** Amount of payment — whole dollars, digits only. */
38
+ payment: string;
40
39
  }
41
40
  interface VA760ESFormProps {
42
41
  data: VA760ESBoundData;
43
42
  /** Starting entries — anything omitted starts blank. */
44
43
  initialValues?: Partial<VA760ESEditableValues>;
45
- /** Fires on every keystroke with the complete set of entries. */
44
+ /** Fires on every change with the complete set of entries. */
46
45
  onValuesChange?: (values: VA760ESEditableValues) => void;
47
- /** Leaves the worksheet. Omit to hide the Back button. */
46
+ /** Leaves the form. Omit to hide the Back button. */
48
47
  onBack?: () => void;
49
- /** Offered only once the worksheet is in edit mode. */
50
- onSubmit?: (values: VA760ESEditableValues) => void;
51
- isSubmitting?: boolean;
48
+ /** Fires after a successful submit, with the API's response. */
49
+ onSubmitted?: (response: StateFormSubmitResponse) => void;
50
+ /** Estimated/Income Tax forms are view + download-PDF only; see `useStateTaxForm`'s `readOnly` option. */
51
+ readOnly?: boolean;
52
52
  }
53
- export declare function VA760ESForm({ data, initialValues, onValuesChange, onBack, onSubmit, isSubmitting, }: VA760ESFormProps): import("react").JSX.Element;
53
+ export declare function VA760ESForm({ data, initialValues, onValuesChange, onBack, onSubmitted, readOnly }: VA760ESFormProps): import("react").JSX.Element;
54
54
  export {};
@@ -0,0 +1,45 @@
1
+ import { VA760ESBoundData, VA760ESEditableValues } from './VA760ESForm';
2
+ export interface VA760ESSubmitPayload {
3
+ formCode: '760ES';
4
+ state: 'VA';
5
+ /** The chosen Dashboard entity — an individual. */
6
+ payerId: number;
7
+ /** Hidden ids the backend issues for an existing record; `null` on a new one. */
8
+ ids: {
9
+ payerDetailId: number | null;
10
+ formRecordId: number | null;
11
+ statePayrollFormId: number | null;
12
+ };
13
+ taxYear: number;
14
+ voucher: number;
15
+ /** `MM/DD/YYYY`, as printed on the voucher. */
16
+ dueDate: string;
17
+ taxpayer: {
18
+ ssn: string;
19
+ firstName: string;
20
+ middleInitial: string | null;
21
+ lastName: string;
22
+ };
23
+ /** `null` without a joint filer. */
24
+ spouse: {
25
+ ssn: string;
26
+ firstName: string;
27
+ middleInitial: string | null;
28
+ lastName: string;
29
+ } | null;
30
+ address: {
31
+ street: string;
32
+ city: string;
33
+ state: string;
34
+ zipCode: string;
35
+ };
36
+ /** 10 digits, or `null` when not given. */
37
+ daytimePhone: string | null;
38
+ isNewAddress: boolean;
39
+ isFirstPayment: boolean;
40
+ /** 3-digit city/county code, or `null` when not given. */
41
+ localityNumber: string | null;
42
+ /** Amount of payment — whole dollars. */
43
+ payment: number;
44
+ }
45
+ export declare function buildVA760ESPayload(data: VA760ESBoundData, values: VA760ESEditableValues): VA760ESSubmitPayload;