@gusto/embedded-react-sdk 0.43.0 → 0.44.1

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 (792) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +23 -5
  3. package/dist/assets/icons/edit-02.svg.js +10 -0
  4. package/dist/assets/icons/edit-02.svg.js.map +1 -0
  5. package/dist/components/Base/useBaseSubmit.js +6 -6
  6. package/dist/components/Base/useBaseSubmit.js.map +1 -1
  7. package/dist/components/Common/DataView/DataTable/DataTable.js +86 -64
  8. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  9. package/dist/components/Common/DetailViewLayout/DetailViewLayout.js +52 -0
  10. package/dist/components/Common/DetailViewLayout/DetailViewLayout.js.map +1 -0
  11. package/dist/components/Common/DetailViewLayout/DetailViewLayout.module.scss.js +18 -0
  12. package/dist/components/Common/DetailViewLayout/DetailViewLayout.module.scss.js.map +1 -0
  13. package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.d.ts +13 -0
  14. package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.js +12 -0
  15. package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.js.map +1 -0
  16. package/dist/components/Common/Fields/hooks/fieldElementRegistry.d.ts +21 -0
  17. package/dist/components/Common/Fields/hooks/fieldElementRegistry.js +29 -0
  18. package/dist/components/Common/Fields/hooks/fieldElementRegistry.js.map +1 -0
  19. package/dist/components/Common/Fields/hooks/useField.js +43 -37
  20. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  21. package/dist/components/Common/Flex/Flex.d.ts +2 -1
  22. package/dist/components/Common/Flex/Flex.js +14 -12
  23. package/dist/components/Common/Flex/Flex.js.map +1 -1
  24. package/dist/components/Common/Flex/Flex.module.scss.js +4 -4
  25. package/dist/components/Common/TaxInputs/TaxInputs.js +1 -1
  26. package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
  27. package/dist/components/Common/UI/Button/Button.module.scss.js +2 -2
  28. package/dist/components/Common/UI/Dialog/Dialog.js +35 -36
  29. package/dist/components/Common/UI/Dialog/Dialog.js.map +1 -1
  30. package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +2 -2
  31. package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
  32. package/dist/components/Company/AssignSignatory/AssignSignatory.js +6 -7
  33. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  34. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +3 -2
  35. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  36. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +3 -2
  37. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  38. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -7
  39. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  40. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +2 -3
  41. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  42. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +7 -4
  43. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  44. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +3 -2
  45. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  46. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -6
  47. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  48. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +9 -10
  49. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  50. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +7 -4
  51. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  52. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +9 -6
  53. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  54. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +6 -6
  55. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -8
  56. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  57. package/dist/components/Company/BankAccount/BankAccountForm/context.js +7 -4
  58. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  59. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +9 -8
  60. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  61. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +8 -7
  62. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  63. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +5 -4
  64. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  65. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +3 -2
  66. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  67. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +11 -12
  68. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  69. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +7 -4
  70. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  71. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +8 -8
  72. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js +26 -25
  73. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js.map +1 -1
  74. package/dist/components/Company/FederalTaxes/Actions.js +6 -5
  75. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  76. package/dist/components/Company/FederalTaxes/FederalTaxes.js +2 -3
  77. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  78. package/dist/components/Company/FederalTaxes/Form.js +3 -2
  79. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  80. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +12 -9
  81. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  82. package/dist/components/Company/Industry/Actions.js +3 -2
  83. package/dist/components/Company/Industry/Actions.js.map +1 -1
  84. package/dist/components/Company/Industry/Context.js +10 -7
  85. package/dist/components/Company/Industry/Context.js.map +1 -1
  86. package/dist/components/Company/Industry/Edit.js +5 -4
  87. package/dist/components/Company/Industry/Edit.js.map +1 -1
  88. package/dist/components/Company/Locations/LocationForm/Actions.js +7 -6
  89. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  90. package/dist/components/Company/Locations/LocationForm/Form.js +4 -5
  91. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  92. package/dist/components/Company/Locations/LocationForm/LocationForm.js +12 -13
  93. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  94. package/dist/components/Company/Locations/LocationForm/index.d.ts +2 -0
  95. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +7 -4
  96. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  97. package/dist/components/Company/Locations/LocationsList/Actions.js +7 -6
  98. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  99. package/dist/components/Company/Locations/LocationsList/List.js +8 -7
  100. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  101. package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -7
  102. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  103. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +7 -4
  104. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  105. package/dist/components/Company/OnboardingOverview/Completed.js +11 -10
  106. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  107. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +3 -2
  108. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  109. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +2 -3
  110. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  111. package/dist/components/Company/OnboardingOverview/context.js +7 -4
  112. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  113. package/dist/components/Company/PaySchedule/PaySchedule.d.ts +2 -2
  114. package/dist/components/Company/PaySchedule/PaySchedule.js +6 -6
  115. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  116. package/dist/components/Company/PaySchedule/PayScheduleForm.js +2 -3
  117. package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
  118. package/dist/components/Company/PaySchedule/PayScheduleList.js +9 -9
  119. package/dist/components/Company/PaySchedule/PayScheduleList.js.map +1 -1
  120. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +3 -3
  121. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +58 -57
  122. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
  123. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +3 -2
  124. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  125. package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js +12 -11
  126. package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js.map +1 -1
  127. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +67 -63
  128. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
  129. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +7 -4
  130. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  131. package/dist/components/Company/StateTaxes/StateTaxesForm/rhfKey.d.ts +2 -0
  132. package/dist/components/Company/StateTaxes/StateTaxesForm/rhfKey.js +6 -0
  133. package/dist/components/Company/StateTaxes/StateTaxesForm/rhfKey.js.map +1 -0
  134. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +3 -2
  135. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  136. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +57 -26
  137. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  138. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +7 -4
  139. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  140. package/dist/components/Company/exports/companyOnboarding.d.ts +3 -0
  141. package/dist/components/Company/exports/companyOnboarding.js +21 -15
  142. package/dist/components/Company/exports/companyOnboarding.js.map +1 -1
  143. package/dist/components/Company/index.d.ts +1 -0
  144. package/dist/components/Company/index.js +14 -12
  145. package/dist/components/Company/index.js.map +1 -1
  146. package/dist/components/Contractor/Address/Address.js +18 -19
  147. package/dist/components/Contractor/Address/Address.js.map +1 -1
  148. package/dist/components/Contractor/Address/Form.js +2 -3
  149. package/dist/components/Contractor/Address/Form.js.map +1 -1
  150. package/dist/components/Contractor/Address/Head.js +7 -6
  151. package/dist/components/Contractor/Address/Head.js.map +1 -1
  152. package/dist/components/Contractor/Address/useAddress.js +9 -6
  153. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  154. package/dist/components/Contractor/ContractorList/index.js +17 -17
  155. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +3 -2
  156. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  157. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +8 -8
  158. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  159. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +3 -2
  160. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  161. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +2 -3
  162. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js.map +1 -1
  163. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +6 -5
  164. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  165. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +1 -1
  166. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +3 -2
  167. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  168. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +3 -2
  169. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  170. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +3 -2
  171. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
  172. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +5 -5
  173. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
  174. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +8 -7
  175. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  176. package/dist/components/Contractor/Profile/useContractorProfile.js +35 -34
  177. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  178. package/dist/components/Contractor/Submit/Submit.js +23 -21
  179. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  180. package/dist/components/Employee/Compensation/Compensation.d.ts +7 -4
  181. package/dist/components/Employee/Compensation/Compensation.js +72 -179
  182. package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
  183. package/dist/components/Employee/Compensation/CompensationFlowComponents.d.ts +27 -0
  184. package/dist/components/Employee/Compensation/CompensationFlowComponents.js +61 -0
  185. package/dist/components/Employee/Compensation/CompensationFlowComponents.js.map +1 -0
  186. package/dist/components/Employee/Compensation/EditCompensation/EditCompensation.d.ts +14 -0
  187. package/dist/components/Employee/Compensation/EditCompensation/EditCompensation.js +128 -0
  188. package/dist/components/Employee/Compensation/EditCompensation/EditCompensation.js.map +1 -0
  189. package/dist/components/Employee/Compensation/EditCompensation/EditCompensationPresentation.d.ts +17 -0
  190. package/dist/components/Employee/Compensation/EditCompensation/EditCompensationPresentation.js +224 -0
  191. package/dist/components/Employee/Compensation/EditCompensation/EditCompensationPresentation.js.map +1 -0
  192. package/dist/components/Employee/Compensation/EditCompensation/index.d.ts +5 -0
  193. package/dist/components/Employee/Compensation/JobsList/JobsList.d.ts +5 -0
  194. package/dist/components/Employee/Compensation/JobsList/JobsList.js +47 -0
  195. package/dist/components/Employee/Compensation/JobsList/JobsList.js.map +1 -0
  196. package/dist/components/Employee/Compensation/JobsList/JobsListPresentation.d.ts +11 -0
  197. package/dist/components/Employee/Compensation/JobsList/JobsListPresentation.js +98 -0
  198. package/dist/components/Employee/Compensation/JobsList/JobsListPresentation.js.map +1 -0
  199. package/dist/components/Employee/Compensation/JobsList/index.d.ts +5 -0
  200. package/dist/components/Employee/Compensation/{useCompensation.d.ts → compensationSchema.d.ts} +0 -22
  201. package/dist/components/Employee/Compensation/{useCompensation.js → compensationSchema.js} +9 -12
  202. package/dist/components/Employee/Compensation/compensationSchema.js.map +1 -0
  203. package/dist/components/Employee/Compensation/compensationStateMachine.d.ts +6 -0
  204. package/dist/components/Employee/Compensation/compensationStateMachine.js +73 -0
  205. package/dist/components/Employee/Compensation/compensationStateMachine.js.map +1 -0
  206. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.d.ts +62 -36
  207. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js +81 -57
  208. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js.map +1 -1
  209. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +5 -12
  210. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +22 -35
  211. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
  212. package/dist/components/Employee/Compensation/shared/useCompensationForm/index.d.ts +5 -3
  213. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.d.ts +55 -13
  214. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +216 -226
  215. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
  216. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCurrentCompensationForm.d.ts +15 -0
  217. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCurrentCompensationForm.js +27 -0
  218. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCurrentCompensationForm.js.map +1 -0
  219. package/dist/components/Employee/Compensation/shared/useJobForm/fields.d.ts +19 -0
  220. package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +29 -0
  221. package/dist/components/Employee/Compensation/shared/useJobForm/fields.js.map +1 -0
  222. package/dist/components/Employee/Compensation/shared/useJobForm/index.d.ts +7 -0
  223. package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.d.ts +43 -0
  224. package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js +37 -0
  225. package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js.map +1 -0
  226. package/dist/components/Employee/Compensation/shared/useJobForm/useCurrentJobForm.d.ts +13 -0
  227. package/dist/components/Employee/Compensation/shared/useJobForm/useCurrentJobForm.js +26 -0
  228. package/dist/components/Employee/Compensation/shared/useJobForm/useCurrentJobForm.js.map +1 -0
  229. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +56 -0
  230. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +180 -0
  231. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -0
  232. package/dist/components/Employee/Dashboard/BasicDetailsView.js +15 -13
  233. package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
  234. package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +3 -0
  235. package/dist/components/Employee/Dashboard/DashboardComponents.js +33 -15
  236. package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
  237. package/dist/components/Employee/Dashboard/DocumentsView.js +13 -11
  238. package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -1
  239. package/dist/components/Employee/Dashboard/JobAndPayView.js +11 -9
  240. package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
  241. package/dist/components/Employee/Dashboard/TaxesView.js +21 -19
  242. package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
  243. package/dist/components/Employee/Dashboard/dashboardStateMachine.d.ts +3 -0
  244. package/dist/components/Employee/Dashboard/dashboardStateMachine.js +54 -33
  245. package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
  246. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +1 -1
  247. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +6 -6
  248. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -1
  249. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +3 -3
  250. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +1 -1
  251. package/dist/components/Employee/Deductions/Deductions.js +7 -7
  252. package/dist/components/Employee/Deductions/Deductions.js.map +1 -1
  253. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +36 -33
  254. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
  255. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +48 -41
  256. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
  257. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +2 -2
  258. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  259. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.d.ts +1 -2
  260. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +23 -20
  261. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
  262. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +30 -30
  263. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  264. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +2 -3
  265. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
  266. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +7 -6
  267. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  268. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +13 -14
  269. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  270. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +3 -2
  271. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  272. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +7 -4
  273. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  274. package/dist/components/Employee/DocumentSigner/DocumentSigner.js +1 -1
  275. package/dist/components/Employee/DocumentSigner/DocumentSigner.js.map +1 -1
  276. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +15 -14
  277. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  278. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js +1 -1
  279. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js.map +1 -1
  280. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +5 -5
  281. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +7 -7
  282. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.js +69 -68
  283. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -1
  284. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +3 -2
  285. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  286. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +8 -7
  287. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
  288. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js +18 -17
  289. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js.map +1 -1
  290. package/dist/components/Employee/FederalTaxes/index.d.ts +3 -1
  291. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.d.ts +8 -0
  292. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js +71 -0
  293. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js.map +1 -0
  294. package/dist/components/Employee/FederalTaxes/management/index.d.ts +2 -0
  295. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.d.ts +8 -0
  296. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js +55 -0
  297. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js.map +1 -0
  298. package/dist/components/Employee/FederalTaxes/onboarding/index.d.ts +2 -0
  299. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.d.ts +15 -0
  300. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +104 -0
  301. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js.map +1 -0
  302. package/dist/components/Employee/FederalTaxes/shared/index.d.ts +3 -0
  303. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.d.ts +41 -0
  304. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js +40 -0
  305. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js.map +1 -0
  306. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.d.ts +18 -0
  307. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +31 -0
  308. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js.map +1 -0
  309. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/index.d.ts +5 -0
  310. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.d.ts +37 -0
  311. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js +140 -0
  312. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js.map +1 -0
  313. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +2 -3
  314. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
  315. package/dist/components/Employee/Landing/Landing.js +8 -8
  316. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -1
  317. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +2 -2
  318. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  319. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +1 -1
  320. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  321. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  322. package/dist/components/Employee/PaymentMethod/Actions.js +6 -5
  323. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  324. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +4 -4
  325. package/dist/components/Employee/PaymentMethod/PaymentMethod.js +14 -14
  326. package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
  327. package/dist/components/Employee/PaymentMethod/Split.js +1 -1
  328. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +9 -6
  329. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  330. package/dist/components/Employee/Profile/management/Profile.d.ts +6 -0
  331. package/dist/components/Employee/Profile/management/Profile.js +122 -0
  332. package/dist/components/Employee/Profile/management/Profile.js.map +1 -0
  333. package/dist/components/Employee/Profile/management/Profile.module.scss.js +8 -0
  334. package/dist/components/Employee/Profile/management/Profile.module.scss.js.map +1 -0
  335. package/dist/components/Employee/Profile/{AdminProfile.js → onboarding/AdminProfile.js} +15 -15
  336. package/dist/components/Employee/Profile/onboarding/AdminProfile.js.map +1 -0
  337. package/dist/components/Employee/Profile/{EmployeeProfile.js → onboarding/EmployeeProfile.js} +14 -14
  338. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js.map +1 -0
  339. package/dist/components/Employee/Profile/{Profile.d.ts → onboarding/Profile.d.ts} +2 -2
  340. package/dist/components/Employee/Profile/{Profile.js → onboarding/Profile.js} +4 -4
  341. package/dist/components/Employee/Profile/onboarding/Profile.js.map +1 -0
  342. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +9 -4
  343. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js +61 -58
  344. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
  345. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +40 -39
  346. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -1
  347. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js +47 -46
  348. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  349. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js +14 -14
  350. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
  351. package/dist/components/Employee/StateTaxes/index.d.ts +2 -1
  352. package/dist/components/Employee/StateTaxes/management/StateTaxes.d.ts +6 -0
  353. package/dist/components/Employee/StateTaxes/management/StateTaxes.js +59 -0
  354. package/dist/components/Employee/StateTaxes/management/StateTaxes.js.map +1 -0
  355. package/dist/components/Employee/StateTaxes/management/index.d.ts +2 -0
  356. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.d.ts +8 -0
  357. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js +49 -0
  358. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js.map +1 -0
  359. package/dist/components/Employee/StateTaxes/onboarding/index.d.ts +2 -0
  360. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.d.ts +14 -0
  361. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +32 -0
  362. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -0
  363. package/dist/components/Employee/StateTaxes/shared/index.d.ts +3 -0
  364. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.d.ts +8 -0
  365. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.d.ts +36 -0
  366. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.d.ts +56 -0
  367. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.js +116 -0
  368. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.js.map +1 -0
  369. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.d.ts +12 -0
  370. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +76 -0
  371. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js.map +1 -0
  372. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.d.ts +14 -0
  373. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.js +23 -0
  374. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.js.map +1 -0
  375. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMeta.d.ts +6 -0
  376. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldProps.d.ts +39 -0
  377. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.d.ts +46 -0
  378. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js +93 -0
  379. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js.map +1 -0
  380. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/index.d.ts +6 -0
  381. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.d.ts +36 -0
  382. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js +159 -0
  383. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js.map +1 -0
  384. package/dist/components/Employee/Taxes/Actions.js +9 -8
  385. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  386. package/dist/components/Employee/Taxes/FederalForm.js +5 -4
  387. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  388. package/dist/components/Employee/Taxes/useTaxes.js +7 -4
  389. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  390. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +11 -11
  391. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  392. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +3 -2
  393. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  394. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +4 -4
  395. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +3 -3
  396. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
  397. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +3 -2
  398. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  399. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +2 -3
  400. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
  401. package/dist/components/Employee/exports/employeeManagement.d.ts +3 -0
  402. package/dist/components/Employee/exports/employeeManagement.js +16 -10
  403. package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
  404. package/dist/components/Employee/exports/employeeOnboarding.d.ts +3 -3
  405. package/dist/components/Employee/exports/employeeOnboarding.js +19 -19
  406. package/dist/components/Employee/index.d.ts +2 -1
  407. package/dist/components/Employee/index.js +37 -37
  408. package/dist/components/Flow/FlowHeader.js +8 -8
  409. package/dist/components/Flow/FlowHeader.js.map +1 -1
  410. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +61 -65
  411. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  412. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +5 -5
  413. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  414. package/dist/components/InformationRequests/InformationRequests.js +1 -1
  415. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +17 -17
  416. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  417. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +7 -7
  418. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  419. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +3 -2
  420. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  421. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +23 -21
  422. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  423. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +3 -2
  424. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  425. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +1 -0
  426. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  427. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +7 -6
  428. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  429. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +3 -2
  430. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  431. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +9 -8
  432. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  433. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +20 -20
  434. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
  435. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +2 -2
  436. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +21 -25
  437. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
  438. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -1
  439. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +2 -3
  440. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  441. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -2
  442. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +1 -1
  443. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  444. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +4 -4
  445. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  446. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
  447. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +2 -3
  448. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  449. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +17 -16
  450. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  451. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +3 -2
  452. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  453. package/dist/components/Payroll/PayrollList/PayrollList.js +4 -4
  454. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  455. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -2
  456. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +3 -2
  457. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  458. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +2 -3
  459. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  460. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +3 -2
  461. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  462. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +3 -2
  463. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  464. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +9 -9
  465. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  466. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +7 -7
  467. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  468. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +3 -2
  469. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  470. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +7 -7
  471. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
  472. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +3 -2
  473. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  474. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +9 -9
  475. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
  476. package/dist/components/Payroll/helpers.d.ts +1 -1
  477. package/dist/components/Payroll/helpers.js.map +1 -1
  478. package/dist/components/Payroll/usePreparedPayrollData.d.ts +2 -2
  479. package/dist/components/Payroll/usePreparedPayrollData.js +21 -18
  480. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  481. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
  482. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +2 -0
  483. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/AddEmployeesToPolicy/AddEmployeesToPolicy.js +3 -2
  484. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
  485. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +6 -0
  486. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js +149 -0
  487. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -0
  488. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +2 -0
  489. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +80 -0
  490. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -0
  491. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailTypes.d.ts +21 -0
  492. package/dist/components/TimeOff/HolidayPolicyDetail/index.d.ts +5 -0
  493. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/HolidaySelectionForm/HolidaySelectionForm.d.ts +1 -0
  494. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +115 -0
  495. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
  496. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/HolidaySelectionForm/HolidaySelectionFormPresentation.js +9 -7
  497. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -0
  498. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +2 -0
  499. package/dist/components/TimeOff/PolicyList/PolicyList.js +103 -0
  500. package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -0
  501. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +135 -0
  502. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -0
  503. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyList/PolicyListTypes.d.ts +1 -1
  504. package/dist/components/TimeOff/PolicySettings/PolicySettings.js +70 -0
  505. package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -0
  506. package/dist/components/TimeOff/PolicySettings/PolicySettings.module.scss.js +16 -0
  507. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +164 -0
  508. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -0
  509. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicySettings/PolicySettingsTypes.d.ts +1 -1
  510. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +31 -0
  511. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -0
  512. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
  513. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +68 -0
  514. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -0
  515. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +1 -0
  516. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
  517. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffFlow/TimeOffFlowComponents.d.ts +3 -3
  518. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js +117 -0
  519. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
  520. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +9 -0
  521. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js +25 -0
  522. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js.map +1 -0
  523. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffFlow/timeOffStateMachine.d.ts +4 -2
  524. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js +487 -0
  525. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
  526. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +1 -0
  527. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +158 -0
  528. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -0
  529. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +85 -76
  530. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -0
  531. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +6 -0
  532. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +143 -0
  533. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -0
  534. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +2 -0
  535. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +103 -0
  536. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -0
  537. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +41 -0
  538. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +9 -0
  539. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +216 -0
  540. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -0
  541. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +2 -1
  542. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +64 -0
  543. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -0
  544. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +9 -0
  545. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +56 -0
  546. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -0
  547. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +5 -0
  548. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +251 -0
  549. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -0
  550. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.module.scss.js +10 -0
  551. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.module.scss.js.map +1 -0
  552. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +2 -0
  553. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js +143 -0
  554. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -0
  555. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailTypes.d.ts +52 -0
  556. package/dist/components/TimeOff/TimeOffPolicyDetail/index.d.ts +7 -0
  557. package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +9 -0
  558. package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
  559. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +6 -0
  560. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.js +9 -0
  561. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.js.map +1 -0
  562. package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +9 -0
  563. package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
  564. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/index.d.ts +5 -4
  565. package/dist/components/TimeOff/index.js +27 -0
  566. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
  567. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +95 -0
  568. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -0
  569. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/EmployeeTable/EmployeeTableTypes.d.ts +2 -0
  570. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +3 -0
  571. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +86 -0
  572. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -0
  573. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayoutTypes.d.ts +27 -0
  574. package/dist/components/TimeOff/shared/PolicyDetailLayout/index.d.ts +3 -0
  575. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/holidayHelpers.d.ts +1 -1
  576. package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/holidayHelpers.js +8 -8
  577. package/dist/components/TimeOff/shared/holidayHelpers.js.map +1 -0
  578. package/dist/components/TimeOff/shared/holidayHelpers.test.d.ts +1 -0
  579. package/dist/components/index.d.ts +1 -1
  580. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +11 -10
  581. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  582. package/dist/helpers/dateFormatting.d.ts +2 -0
  583. package/dist/helpers/dateFormatting.js +4 -0
  584. package/dist/helpers/dateFormatting.js.map +1 -1
  585. package/dist/i18n/I18n.js +11 -10
  586. package/dist/i18n/I18n.js.map +1 -1
  587. package/dist/i18n/en/Company.StateTaxes.json.js +1 -1
  588. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +12 -14
  589. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -1
  590. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +18 -16
  591. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -1
  592. package/dist/i18n/en/Company.TimeOff.PolicyDetail.json.js +14 -0
  593. package/dist/i18n/en/Company.TimeOff.PolicyDetail.json.js.map +1 -0
  594. package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js +24 -16
  595. package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js.map +1 -1
  596. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +14 -14
  597. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +46 -42
  598. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -1
  599. package/dist/i18n/en/Employee.FederalTaxes.json.js +16 -10
  600. package/dist/i18n/en/Employee.FederalTaxes.json.js.map +1 -1
  601. package/dist/i18n/en/Employee.Profile.json.js +24 -20
  602. package/dist/i18n/en/Employee.Profile.json.js.map +1 -1
  603. package/dist/i18n/en/Employee.StateTaxes.json.js +14 -6
  604. package/dist/i18n/en/Employee.StateTaxes.json.js.map +1 -1
  605. package/dist/i18n/en/Payroll.GrossUpModal.json.js +12 -10
  606. package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
  607. package/dist/index.d.ts +8 -2
  608. package/dist/index.js +118 -93
  609. package/dist/index.js.map +1 -1
  610. package/dist/partner-hook-utils/form/SDKFormProvider.js +18 -14
  611. package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -1
  612. package/dist/partner-hook-utils/form/buildFormSchema.js +41 -41
  613. package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
  614. package/dist/partner-hook-utils/form/composeSubmitHandler.d.ts +10 -6
  615. package/dist/partner-hook-utils/form/composeSubmitHandler.js +49 -26
  616. package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
  617. package/dist/partner-hook-utils/form/fields/CheckboxHookField.d.ts +1 -1
  618. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js +27 -23
  619. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
  620. package/dist/partner-hook-utils/form/fields/DatePickerHookField.d.ts +1 -1
  621. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js +33 -29
  622. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
  623. package/dist/partner-hook-utils/form/fields/NumberInputHookField.d.ts +1 -1
  624. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js +37 -33
  625. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
  626. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +1 -1
  627. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js +32 -28
  628. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
  629. package/dist/partner-hook-utils/form/fields/SelectHookField.d.ts +1 -1
  630. package/dist/partner-hook-utils/form/fields/SelectHookField.js +34 -30
  631. package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
  632. package/dist/partner-hook-utils/form/fields/SwitchHookField.d.ts +1 -1
  633. package/dist/partner-hook-utils/form/fields/SwitchHookField.js +23 -19
  634. package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
  635. package/dist/partner-hook-utils/form/fields/TextInputHookField.d.ts +1 -1
  636. package/dist/partner-hook-utils/form/fields/TextInputHookField.js +31 -27
  637. package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
  638. package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.d.ts +10 -0
  639. package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.js +9 -0
  640. package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.js.map +1 -0
  641. package/dist/partner-hook-utils/form/index.d.ts +3 -0
  642. package/dist/partner-hook-utils/form/resolveFieldError.js +10 -7
  643. package/dist/partner-hook-utils/form/resolveFieldError.js.map +1 -1
  644. package/dist/partner-hook-utils/form/useFieldErrorMessage.js +10 -7
  645. package/dist/partner-hook-utils/form/useFieldErrorMessage.js.map +1 -1
  646. package/dist/partner-hook-utils/form/useHookFieldResolution.d.ts +10 -3
  647. package/dist/partner-hook-utils/form/useHookFieldResolution.js +6 -6
  648. package/dist/partner-hook-utils/form/useHookFieldResolution.js.map +1 -1
  649. package/dist/partner-hook-utils/form/useHookFormInternals.d.ts +22 -0
  650. package/dist/partner-hook-utils/form/useHookFormInternals.js +12 -0
  651. package/dist/partner-hook-utils/form/useHookFormInternals.js.map +1 -0
  652. package/dist/partner-hook-utils/types.d.ts +15 -0
  653. package/dist/shared/constants.d.ts +22 -0
  654. package/dist/shared/constants.js +41 -30
  655. package/dist/shared/constants.js.map +1 -1
  656. package/dist/style.css +1 -1
  657. package/dist/types/i18next.d.ts +62 -14
  658. package/docs/reference/endpoint-inventory.json +313 -122
  659. package/package.json +19 -17
  660. package/dist/components/Employee/Compensation/Actions.d.ts +0 -1
  661. package/dist/components/Employee/Compensation/Actions.js +0 -39
  662. package/dist/components/Employee/Compensation/Actions.js.map +0 -1
  663. package/dist/components/Employee/Compensation/Edit.d.ts +0 -5
  664. package/dist/components/Employee/Compensation/Edit.js +0 -179
  665. package/dist/components/Employee/Compensation/Edit.js.map +0 -1
  666. package/dist/components/Employee/Compensation/Head.d.ts +0 -1
  667. package/dist/components/Employee/Compensation/Head.js +0 -22
  668. package/dist/components/Employee/Compensation/Head.js.map +0 -1
  669. package/dist/components/Employee/Compensation/List.d.ts +0 -1
  670. package/dist/components/Employee/Compensation/List.js +0 -72
  671. package/dist/components/Employee/Compensation/List.js.map +0 -1
  672. package/dist/components/Employee/Compensation/useCompensation.js.map +0 -1
  673. package/dist/components/Employee/FederalTaxes/Actions.d.ts +0 -1
  674. package/dist/components/Employee/FederalTaxes/Actions.js +0 -14
  675. package/dist/components/Employee/FederalTaxes/Actions.js.map +0 -1
  676. package/dist/components/Employee/FederalTaxes/FederalForm.d.ts +0 -12
  677. package/dist/components/Employee/FederalTaxes/FederalForm.js +0 -110
  678. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +0 -1
  679. package/dist/components/Employee/FederalTaxes/FederalTaxes.d.ts +0 -6
  680. package/dist/components/Employee/FederalTaxes/FederalTaxes.js +0 -84
  681. package/dist/components/Employee/FederalTaxes/FederalTaxes.js.map +0 -1
  682. package/dist/components/Employee/FederalTaxes/Head.d.ts +0 -1
  683. package/dist/components/Employee/FederalTaxes/Head.js +0 -24
  684. package/dist/components/Employee/FederalTaxes/Head.js.map +0 -1
  685. package/dist/components/Employee/FederalTaxes/useFederalTaxes.d.ts +0 -5
  686. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +0 -21
  687. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +0 -1
  688. package/dist/components/Employee/Profile/AdminProfile.js.map +0 -1
  689. package/dist/components/Employee/Profile/EmployeeProfile.js.map +0 -1
  690. package/dist/components/Employee/Profile/Profile.js.map +0 -1
  691. package/dist/components/Employee/Profile/index.d.ts +0 -2
  692. package/dist/components/Employee/StateTaxes/Actions.d.ts +0 -1
  693. package/dist/components/Employee/StateTaxes/Actions.js +0 -14
  694. package/dist/components/Employee/StateTaxes/Actions.js.map +0 -1
  695. package/dist/components/Employee/StateTaxes/StateForm.d.ts +0 -6
  696. package/dist/components/Employee/StateTaxes/StateForm.js +0 -34
  697. package/dist/components/Employee/StateTaxes/StateForm.js.map +0 -1
  698. package/dist/components/Employee/StateTaxes/StateTaxes.d.ts +0 -7
  699. package/dist/components/Employee/StateTaxes/StateTaxes.js +0 -98
  700. package/dist/components/Employee/StateTaxes/StateTaxes.js.map +0 -1
  701. package/dist/components/Employee/StateTaxes/useStateTaxes.d.ts +0 -8
  702. package/dist/components/Employee/StateTaxes/useStateTaxes.js +0 -21
  703. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +0 -1
  704. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +0 -1
  705. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +0 -1
  706. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +0 -49
  707. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +0 -1
  708. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +0 -1
  709. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +0 -107
  710. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +0 -1
  711. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js +0 -125
  712. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js.map +0 -1
  713. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +0 -66
  714. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +0 -1
  715. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.module.scss.js +0 -16
  716. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsPresentation.js +0 -154
  717. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsPresentation.js.map +0 -1
  718. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +0 -29
  719. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +0 -1
  720. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +0 -67
  721. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +0 -1
  722. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +0 -1
  723. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +0 -112
  724. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +0 -1
  725. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +0 -317
  726. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +0 -1
  727. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +0 -72
  728. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +0 -1
  729. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +0 -1
  730. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployees.d.ts +0 -2
  731. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +0 -6
  732. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +0 -66
  733. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +0 -1
  734. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +0 -2
  735. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +0 -82
  736. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +0 -1
  737. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +0 -24
  738. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +0 -7
  739. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +0 -70
  740. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +0 -1
  741. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTypes.d.ts +0 -24
  742. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +0 -56
  743. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +0 -1
  744. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +0 -35
  745. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +0 -1
  746. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +0 -35
  747. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +0 -1
  748. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +0 -5
  749. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +0 -35
  750. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +0 -1
  751. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +0 -5
  752. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +0 -35
  753. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +0 -1
  754. package/dist/components/UNSTABLE_TimeOff/index.js +0 -27
  755. package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +0 -2
  756. package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTable.js +0 -90
  757. package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTable.js.map +0 -1
  758. package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.js.map +0 -1
  759. /package/dist/components/Employee/{Compensation/shared/useCompensationForm/compensationSchemaParity.test.d.ts → FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.test.d.ts} +0 -0
  760. /package/dist/components/Employee/Profile/{AdminProfile.d.ts → onboarding/AdminProfile.d.ts} +0 -0
  761. /package/dist/components/Employee/Profile/{AdminProfile.module.scss.js → onboarding/AdminProfile.module.scss.js} +0 -0
  762. /package/dist/components/Employee/Profile/{AdminProfile.module.scss.js.map → onboarding/AdminProfile.module.scss.js.map} +0 -0
  763. /package/dist/components/Employee/Profile/{EmployeeProfile.d.ts → onboarding/EmployeeProfile.d.ts} +0 -0
  764. /package/dist/components/Employee/Profile/{EmployeeProfile.module.scss.js → onboarding/EmployeeProfile.module.scss.js} +0 -0
  765. /package/dist/components/Employee/Profile/{EmployeeProfile.module.scss.js.map → onboarding/EmployeeProfile.module.scss.js.map} +0 -0
  766. /package/dist/components/{UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts → Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.test.d.ts} +0 -0
  767. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +0 -0
  768. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/AddEmployeesHoliday/AddEmployeesHoliday.js +0 -0
  769. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +0 -0
  770. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyList/PolicyList.d.ts +0 -0
  771. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyList/PolicyListPresentation.d.ts +0 -0
  772. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyList/PolicyListPresentation.module.scss.js +0 -0
  773. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyList/PolicyListPresentation.module.scss.js.map +0 -0
  774. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicySettings/PolicySettings.d.ts +0 -0
  775. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicySettings/PolicySettings.module.scss.js.map +0 -0
  776. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicySettings/PolicySettingsPresentation.d.ts +0 -0
  777. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/PolicyTypeSelector/PolicyTypeSelector.d.ts +0 -0
  778. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffFlow/TimeOffFlow.d.ts +0 -0
  779. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffFlow/TimeOffFlow.js +0 -0
  780. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffFlow/index.d.ts +0 -0
  781. /package/dist/components/{UNSTABLE_TimeOff/shared/holidayHelpers.test.d.ts → TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts} +0 -0
  782. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js +0 -0
  783. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js.map +0 -0
  784. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +0 -0
  785. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +0 -0
  786. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/TimeOffManagement/PolicyConfigurationForm/index.d.ts +0 -0
  787. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +0 -0
  788. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +0 -0
  789. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/index.js.map +0 -0
  790. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/EmployeeTable/EmployeeTable.module.scss.js +0 -0
  791. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/EmployeeTable/EmployeeTable.module.scss.js.map +0 -0
  792. /package/dist/components/{UNSTABLE_TimeOff → TimeOff}/shared/EmployeeTable/index.d.ts +0 -0
@@ -1,11 +1,11 @@
1
- const e = "Additional withholding", t = "Step 4b: Deductions", o = "Step 3: Dependents (if applicable)", i = "Step 4c: Extra withholding", l = "Step 1c: Federal filing status (1c)", n = "Select filing status...", s = "Federal tax withholdings (Form W-4)", a = "Federal withholding allowance", r = "This field is a required field. Please enter a value.", c = "Filing status", d = "Exempt from withholding", h = "Head of household", u = "Married", p = "Married, but withhold as Single", f = "Single", g = 'Includes spouse, if applicable. Answering 2c will result in a higher withholding, but to preserve privacy, this can be left unchecked. <IrsLink href="https://www.irs.gov/newsroom/faqs-on-the-2020-form-w-4" target="_blank">Learn more on the IRS website</IrsLink>.', w = `We'll use this information to withhold the appropriate federal taxes from each paycheck. If you're unsure what to enter here, refer to <IrsCalculatorLink href="https://www.irs.gov/pub/irs-pdf/fw4.pdf" target="_blank">Form W-4</IrsCalculatorLink> to calculate the values, visit our <HelpCenterLink href="https://support.gusto.com" target="_blank">Help Center</HelpCenterLink>, or consult your tax advisor.`, b = "Step 2c: Multiple jobs (2c)", m = "Step 4a: Other income", S = "If you select Exempt from withholding, we won't withhold federal income taxes, but we'll still report taxable wages on a W-2. Keep in mind that anyone who claims exemption from withholding needs to submit a new W-4 each year.", x = "Continue", F = "No", I = "Yes", k = { federalFilingStatus: "Please select filing status", federalTwoJobs: "Please select an option" }, L = {
1
+ const e = "Additional withholding", t = "Step 4b: Deductions", o = "Step 3: Dependents (if applicable)", i = "Step 4c: Extra withholding", l = "Step 1c: Federal filing status (1c)", s = "Select filing status...", n = "Federal tax withholdings (Form W-4)", a = "Federal withholding allowance", r = "This field is a required field. Please enter a value.", c = "Filing status", d = "Exempt from withholding", h = "Head of household", u = "Married", p = "Married, but withhold as Single", f = "Single", g = 'Includes spouse, if applicable. Answering 2c will result in a higher withholding, but to preserve privacy, this can be left unchecked. <IrsLink href="https://www.irs.gov/newsroom/faqs-on-the-2020-form-w-4" target="_blank">Learn more on the IRS website</IrsLink>.', w = `We'll use this information to withhold the appropriate federal taxes from each paycheck. If you're unsure what to enter here, refer to <IrsCalculatorLink href="https://www.irs.gov/pub/irs-pdf/fw4.pdf" target="_blank">Form W-4</IrsCalculatorLink> to calculate the values, visit our <HelpCenterLink href="https://support.gusto.com" target="_blank">Help Center</HelpCenterLink>, or consult your tax advisor.`, b = "Step 2c: Multiple jobs (2c)", m = "Step 4a: Other income", S = "If you select Exempt from withholding, we won't withhold federal income taxes, but we'll still report taxable wages on a W-2. Keep in mind that anyone who claims exemption from withholding needs to submit a new W-4 each year.", x = "Continue", k = "Save", v = "Cancel", C = "Successfully updated federal tax settings.", I = "No", L = "Yes", F = { federalFilingStatus: "Please select filing status", federalTwoJobs: "Please select an option" }, W = {
2
2
  additionalWithholding: e,
3
3
  deductions: t,
4
4
  dependentsTotalIfApplicable: o,
5
5
  extraWithholding: i,
6
6
  federalFilingStatus1c: l,
7
- federalFilingStatusPlaceholder: n,
8
- federalTaxesTitle: s,
7
+ federalFilingStatusPlaceholder: s,
8
+ federalTaxesTitle: n,
9
9
  federalWithholdingAllowance: a,
10
10
  fieldIsRequired: r,
11
11
  filingStatus: c,
@@ -20,19 +20,23 @@ const e = "Additional withholding", t = "Step 4b: Deductions", o = "Step 3: Depe
20
20
  otherIncome: m,
21
21
  selectWithholdingDescription: S,
22
22
  submitCta: x,
23
+ saveCta: k,
24
+ cancelCta: v,
25
+ successAlert: C,
23
26
  twoJobNoLabel: "No",
24
27
  twoJobYesLabel: "Yes",
25
- validations: k
28
+ validations: F
26
29
  };
27
30
  export {
28
31
  e as additionalWithholding,
32
+ v as cancelCta,
29
33
  t as deductions,
30
- L as default,
34
+ W as default,
31
35
  o as dependentsTotalIfApplicable,
32
36
  i as extraWithholding,
33
37
  l as federalFilingStatus1c,
34
- n as federalFilingStatusPlaceholder,
35
- s as federalTaxesTitle,
38
+ s as federalFilingStatusPlaceholder,
39
+ n as federalTaxesTitle,
36
40
  a as federalWithholdingAllowance,
37
41
  r as fieldIsRequired,
38
42
  c as filingStatus,
@@ -45,10 +49,12 @@ export {
45
49
  w as irsCalculator,
46
50
  b as multipleJobs2c,
47
51
  m as otherIncome,
52
+ k as saveCta,
48
53
  S as selectWithholdingDescription,
49
54
  x as submitCta,
50
- F as twoJobNoLabel,
51
- I as twoJobYesLabel,
52
- k as validations
55
+ C as successAlert,
56
+ I as twoJobNoLabel,
57
+ L as twoJobYesLabel,
58
+ F as validations
53
59
  };
54
60
  //# sourceMappingURL=Employee.FederalTaxes.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.FederalTaxes.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.FederalTaxes.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = "Cancel", t = "This information will be used for payroll and taxes, so double-check that it's accurate.", s = "Date of birth", o = "Personal email", a = "Use an email that's not associated with your company.", i = "Legal first name", r = "Employee Form", n = "Legal last name", l = "Middle initial", c = "Preferred first name", d = "Invite this employee to enter their own details online.", m = "Your employee will be invited to enter their information on their own time.", h = "Social Security Number (9 digit)", f = "***-**-****", p = "Your employee’s first day of work at your company.", y = "Start date", u = "Continue", w = "Basics", k = { email: "Valid email is required", firstName: "Please enter valid first name", lastName: "Please enter valid last name", startDate: "Please select valid start date", startDateOutOfRange: "An employee must have a start date that is within six months from today." }, b = "Work address", D = "The primary location where the employee will be working.", P = "Select work address...", g = "Work Address", v = "This is where you primarily work. We need this information to make sure your pay is accurate. Please reach out to your employer if this looks incorrect.", A = {
1
+ const e = "Cancel", t = "This information will be used for payroll and taxes, so double-check that it's accurate.", s = "Date of birth", o = "Personal email", a = "Use an email that's not associated with your company.", i = "Legal first name", r = "Employee Form", n = "Legal last name", l = "Middle initial", c = "Preferred first name", d = "Invite this employee to enter their own details online.", m = "Your employee will be invited to enter their information on their own time.", u = "Social Security Number (9 digit)", f = "***-**-****", p = "Your employee’s first day of work at your company.", h = "Start date", y = "Save", w = "Continue", k = "Successfully updated profile", b = "Basics", D = { email: "Valid email is required", firstName: "Please enter valid first name", lastName: "Please enter valid last name", startDate: "Please select valid start date", startDateOutOfRange: "An employee must have a start date that is within six months from today." }, v = "Work address", A = "The primary location where the employee will be working.", P = "Select work address...", S = "Work Address", g = "This is where you primarily work. We need this information to make sure your pay is accurate. Please reach out to your employer if this looks incorrect.", L = {
2
2
  cancelCta: e,
3
3
  description: t,
4
4
  dobLabel: s,
@@ -11,22 +11,24 @@ const e = "Cancel", t = "This information will be used for payroll and taxes, so
11
11
  preferredFirstName: c,
12
12
  selfOnboardingLabel: d,
13
13
  selfOnboardingDescription: m,
14
- ssnLabel: h,
14
+ ssnLabel: u,
15
15
  ssnMask: f,
16
16
  startDateDescription: p,
17
- startDateLabel: y,
18
- submitCta: u,
19
- title: w,
20
- validations: k,
21
- workAddress: b,
22
- workAddressDescription: D,
17
+ startDateLabel: h,
18
+ saveCta: y,
19
+ submitCta: w,
20
+ successAlert: k,
21
+ title: b,
22
+ validations: D,
23
+ workAddress: v,
24
+ workAddressDescription: A,
23
25
  workAddressPlaceholder: P,
24
- workAddressSectionTitle: g,
25
- workAddressSectionDescription: v
26
+ workAddressSectionTitle: S,
27
+ workAddressSectionDescription: g
26
28
  };
27
29
  export {
28
30
  e as cancelCta,
29
- A as default,
31
+ L as default,
30
32
  t as description,
31
33
  s as dobLabel,
32
34
  o as email,
@@ -36,19 +38,21 @@ export {
36
38
  n as lastName,
37
39
  l as middleInitial,
38
40
  c as preferredFirstName,
41
+ y as saveCta,
39
42
  m as selfOnboardingDescription,
40
43
  d as selfOnboardingLabel,
41
- h as ssnLabel,
44
+ u as ssnLabel,
42
45
  f as ssnMask,
43
46
  p as startDateDescription,
44
- y as startDateLabel,
45
- u as submitCta,
46
- w as title,
47
- k as validations,
48
- b as workAddress,
49
- D as workAddressDescription,
47
+ h as startDateLabel,
48
+ w as submitCta,
49
+ k as successAlert,
50
+ b as title,
51
+ D as validations,
52
+ v as workAddress,
53
+ A as workAddressDescription,
50
54
  P as workAddressPlaceholder,
51
- v as workAddressSectionDescription,
52
- g as workAddressSectionTitle
55
+ g as workAddressSectionDescription,
56
+ S as workAddressSectionTitle
53
57
  };
54
58
  //# sourceMappingURL=Employee.Profile.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,10 +1,18 @@
1
- const t = "{{state}} Tax Requirements", e = "Continue", s = {
2
- stateTaxesTitle: t,
3
- submitCta: e
1
+ const e = "{{state}} Tax Requirements", t = "Continue", s = "Save", a = "Cancel", n = "Successfully updated state tax settings.", c = { required: "This field is a required field. Please enter a value." }, i = {
2
+ stateTaxesTitle: e,
3
+ submitCta: t,
4
+ saveCta: s,
5
+ cancelCta: a,
6
+ successAlert: n,
7
+ validations: c
4
8
  };
5
9
  export {
6
- s as default,
7
- t as stateTaxesTitle,
8
- e as submitCta
10
+ a as cancelCta,
11
+ i as default,
12
+ s as saveCta,
13
+ e as stateTaxesTitle,
14
+ t as submitCta,
15
+ n as successAlert,
16
+ c as validations
9
17
  };
10
18
  //# sourceMappingURL=Employee.StateTaxes.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.StateTaxes.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"Employee.StateTaxes.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,26 +1,28 @@
1
- const t = "Enter a net amount", a = "Please enter the net amount you want this employee to receive. We'll then automatically calculate the gross amount you need to pay, including taxes and deductions.", e = "This will override any previously entered amounts.", n = "Net amount", l = "Calculate", o = "Calculating...", s = "Apply", c = "Cancel", u = "Calculated gross pay", r = "Unable to calculate gross up. Please try again.", i = {
1
+ const t = "Enter a net amount", a = "Please enter the net amount you want this employee to receive. We'll then automatically calculate the gross amount you need to pay, including taxes and deductions.", e = "This will override any previously entered amounts.", n = "Net amount", o = "Calculate", l = "Calculating...", s = "Apply", c = "Cancel", r = "Calculated gross pay", u = "Unable to calculate gross up. Please try again.", i = { netPay: "Net amount must be greater than zero cents" }, y = {
2
2
  title: t,
3
3
  description: a,
4
4
  warning: e,
5
5
  netPayLabel: n,
6
- calculateCta: l,
7
- calculatingCta: o,
6
+ calculateCta: o,
7
+ calculatingCta: l,
8
8
  applyCta: s,
9
9
  cancelCta: c,
10
- grossPayResult: u,
11
- errorMessage: r
10
+ grossPayResult: r,
11
+ errorMessage: u,
12
+ validations: i
12
13
  };
13
14
  export {
14
15
  s as applyCta,
15
- l as calculateCta,
16
- o as calculatingCta,
16
+ o as calculateCta,
17
+ l as calculatingCta,
17
18
  c as cancelCta,
18
- i as default,
19
+ y as default,
19
20
  a as description,
20
- r as errorMessage,
21
- u as grossPayResult,
21
+ u as errorMessage,
22
+ r as grossPayResult,
22
23
  n as netPayLabel,
23
24
  t as title,
25
+ i as validations,
24
26
  e as warning
25
27
  };
26
28
  //# sourceMappingURL=Payroll.GrossUpModal.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payroll.GrossUpModal.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"Payroll.GrossUpModal.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -9,14 +9,20 @@ export type { ObservabilityHook, ObservabilityError, ObservabilityMetric, Observ
9
9
  export type { ConfirmWireDetailsProps, ConfirmWireDetailsComponentType, } from './components/Payroll/ConfirmWireDetails';
10
10
  export { composeErrorHandler, collectErrors, SDKFormProvider, composeSubmitHandler, useFieldErrorMessage, useDeriveFieldsMetadata, withOptions, FormFieldsMetadataProvider, TextInputHookField, SelectHookField, CheckboxHookField, NumberInputHookField, DatePickerHookField, RadioGroupHookField, SwitchHookField, } from './partner-hook-utils';
11
11
  export type { MixedErrorSource, SubmitStateForErrorHandling, HookFormInternals, HookLoadingResult, HookSubmitResult, HookErrorHandling, BaseHookReady, BaseFormHookReady, FormHookResult, FieldMetadata, FieldMetadataWithOptions, FieldsMetadata, ValidationMessages, BaseFieldProps, HookFieldProps, TextInputHookFieldProps, SelectHookFieldProps, CheckboxHookFieldProps, NumberInputHookFieldProps, DatePickerHookFieldProps, RadioGroupHookFieldProps, SwitchHookFieldProps, TextInputProps, SelectProps, SelectOption, CheckboxProps, NumberInputProps, DatePickerProps, RadioGroupProps, RadioGroupOption, SwitchProps, FormFieldsMetadataContextValue, } from './partner-hook-utils';
12
- export { useCompensationForm, CompensationErrorCodes, createCompensationSchema, } from './components/Employee/Compensation/shared/useCompensationForm';
13
- export type { CompensationSubmitCallbacks, CompensationSubmitOptions, UseCompensationFormProps, UseCompensationFormResult, UseCompensationFormReady, CompensationFieldsMetadata, CompensationFormFields, CompensationErrorCode, CompensationOptionalFieldsToRequire, CompensationFormData, CompensationFormOutputs, RequiredValidation, RateValidation, StartDateFieldProps, JobTitleFieldProps, FlsaStatusFieldProps, RateFieldProps, PaymentUnitFieldProps, AdjustForMinimumWageFieldProps, MinimumWageIdFieldProps, TwoPercentShareholderFieldProps, StateWcCoveredFieldProps, StateWcClassCodeFieldProps, } from './components/Employee/Compensation/shared/useCompensationForm';
12
+ export { useCompensationForm, useCurrentCompensationForm, CompensationErrorCodes, createCompensationSchema, } from './components/Employee/Compensation/shared/useCompensationForm';
13
+ export type { CompensationSubmitOptions, UseCompensationFormProps, UseCurrentCompensationFormProps, UseCompensationFormResult, UseCompensationFormReady, CompensationFieldsMetadata, CompensationFormFields, CompensationErrorCode, CompensationOptionalFieldsToRequire, CompensationSchemaOptions, CompensationFormData, CompensationFormOutputs, RequiredValidation as CompensationRequiredValidation, RateValidation, EffectiveDateValidation as CompensationEffectiveDateValidation, TitleFieldProps as CompensationTitleFieldProps, EffectiveDateFieldProps as CompensationEffectiveDateFieldProps, FlsaStatusFieldProps, RateFieldProps, PaymentUnitFieldProps, AdjustForMinimumWageFieldProps, MinimumWageIdFieldProps, } from './components/Employee/Compensation/shared/useCompensationForm';
14
+ export { useJobForm, useCurrentJobForm, JobErrorCodes, createJobSchema, } from './components/Employee/Compensation/shared/useJobForm';
15
+ export type { JobSubmitOptions, UseJobFormProps, UseCurrentJobFormProps, UseJobFormResult, UseJobFormReady, JobFieldsMetadata, JobFormFields, JobErrorCode, JobOptionalFieldsToRequire, JobFormData, JobFormOutputs, JobRequiredValidation, JobTitleFieldProps, HireDateFieldProps, TwoPercentShareholderFieldProps, StateWcCoveredFieldProps, StateWcClassCodeFieldProps, } from './components/Employee/Compensation/shared/useJobForm';
14
16
  export { useEmployeeDetailsForm, EmployeeDetailsErrorCodes, createEmployeeDetailsSchema, } from './components/Employee/Profile/shared/useEmployeeDetailsForm';
15
17
  export type { EmployeeDetailsSubmitCallbacks, EmployeeDetailsOptionalFieldsToRequire, UseEmployeeDetailsFormProps, UseEmployeeDetailsFormResult, UseEmployeeDetailsFormReady, EmployeeDetailsFieldsMetadata, EmployeeDetailsFormFields, EmployeeDetailsErrorCode, EmployeeDetailsFormData, EmployeeDetailsFormOutputs, EmployeeDetailsField, EmployeeDetailsRequiredValidation, NameValidation, EmailValidation, SsnValidation, FirstNameFieldProps, MiddleInitialFieldProps, LastNameFieldProps, EmailFieldProps, DateOfBirthFieldProps, SsnFieldProps, SelfOnboardingFieldProps, } from './components/Employee/Profile/shared/useEmployeeDetailsForm';
16
18
  export { useWorkAddressForm, useCurrentWorkAddressForm, WorkAddressErrorCodes, createWorkAddressSchema, } from './components/Employee/Profile/shared/useWorkAddressForm';
17
19
  export type { WorkAddressSubmitCallbacks, WorkAddressSubmitOptions, WorkAddressOptionalFieldsToRequire, UseCurrentWorkAddressFormProps, UseWorkAddressFormProps, UseWorkAddressFormResult, UseWorkAddressFormReady, WorkAddressFieldsMetadata, WorkAddressFormFields, WorkAddressErrorCode, WorkAddressFormData, WorkAddressFormOutputs, WorkAddressField, WorkAddressRequiredValidation, LocationFieldProps, EffectiveDateFieldProps, } from './components/Employee/Profile/shared/useWorkAddressForm';
18
20
  export { useHomeAddressForm, useCurrentHomeAddressForm, HomeAddressErrorCodes, createHomeAddressSchema, } from './components/Employee/Profile/shared/useHomeAddressForm';
19
21
  export type { HomeAddressSubmitOptions, HomeAddressOptionalFieldsToRequire, UseHomeAddressFormProps, UseCurrentHomeAddressFormProps, UseHomeAddressFormResult, UseHomeAddressFormReady, HomeAddressFieldsMetadata, HomeAddressFormFields, HomeAddressErrorCode, HomeAddressFormData, HomeAddressFormOutputs, HomeAddressField, HomeAddressRequiredValidation, ZipValidation, Street1FieldProps, Street2FieldProps, CityFieldProps, StateFieldProps, ZipFieldProps, CourtesyWithholdingFieldProps, HomeAddressEffectiveDateFieldProps, } from './components/Employee/Profile/shared/useHomeAddressForm';
22
+ export { useFederalTaxesForm, FederalTaxesErrorCodes, createFederalTaxesSchema, FILING_STATUS_VALUES, } from './components/Employee/FederalTaxes/shared/useFederalTaxesForm';
23
+ export { useEmployeeStateTaxesForm, createEmployeeStateTaxesSchema, EmployeeStateTaxesErrorCodes, createStateFields, useStateFields, getQuestionVariant, } from './components/Employee/StateTaxes/shared';
24
+ export type { UseEmployeeStateTaxesFormProps, UseEmployeeStateTaxesFormResult, UseEmployeeStateTaxesFormReady, EmployeeStateTaxesFieldsMetadata, EmployeeStateTaxesFormFields, EmployeeStateTaxesErrorCode, EmployeeStateTaxesFormData, EmployeeStateTaxesFormOutputs, EmployeeStateTaxesSchemaOptions, EmployeeStateTaxesQuestionMeta, EmployeeStateTaxesMetadataConfig, StateTaxValue, StateTaxQuestionVariant, StateTaxFieldsGroup, StateTaxQuestionFieldEntry, CreateStateFieldsOptions, SelectStateTaxFieldProps, RadioStateTaxFieldProps, TextStateTaxFieldProps, NumberStateTaxFieldProps, CurrencyStateTaxFieldProps, DateStateTaxFieldProps, } from './components/Employee/StateTaxes/shared';
25
+ export type { FederalTaxesOptionalFieldsToRequire, UseFederalTaxesFormProps, UseFederalTaxesFormResult, UseFederalTaxesFormReady, FederalTaxesFieldsMetadata, FederalTaxesFormFields, FederalTaxesFields, FederalTaxesErrorCode, FederalTaxesFormData, FederalTaxesFormOutputs, FederalTaxesField, FilingStatusValue, FederalTaxesRequiredValidation, FilingStatusFieldProps, TwoJobsFieldProps, DependentsAmountFieldProps, OtherIncomeFieldProps, DeductionsFieldProps, ExtraWithholdingFieldProps, } from './components/Employee/FederalTaxes/shared/useFederalTaxesForm';
20
26
  export { useSignEmployeeForm, SignEmployeeFormErrorCodes, createSignEmployeeFormSchema, MAX_PREPARERS, PREPARER_FIELDS_BY_INDEX, preparerFieldName, } from './components/Employee/DocumentSigner/shared/useSignEmployeeForm';
21
27
  export type { UseSignEmployeeFormProps, UseSignEmployeeFormResult, UseSignEmployeeFormReady, SignEmployeeFormFieldComponents, SignEmployeeFormFieldsMetadata, SignEmployeeFormFields, PreparerFieldGroup, SignEmployeeFormErrorCode, SignEmployeeFormData, SignEmployeeFormOutputs, SignEmployeeFormField, PreparerIndex, PreparerFieldSuffix, SignEmployeeFormRequiredValidation, SignatureFieldProps as SignEmployeeFormSignatureFieldProps, ConfirmSignatureFieldProps as SignEmployeeFormConfirmSignatureFieldProps, UsedPreparerFieldProps, PreparerTextFieldProps, PreparerCheckboxFieldProps, } from './components/Employee/DocumentSigner/shared/useSignEmployeeForm';
22
28
  export { usePayScheduleForm, PayScheduleErrorCodes, createPayScheduleSchema, } from './components/Company/PaySchedule/shared/usePayScheduleForm';
package/dist/index.js CHANGED
@@ -1,111 +1,136 @@
1
- import * as o from "./components/Company/index.js";
2
- import * as r from "./components/Contractor/index.js";
1
+ import * as r from "./components/Company/index.js";
2
+ import * as o from "./components/Contractor/index.js";
3
3
  import * as e from "./components/Employee/index.js";
4
4
  import * as m from "./components/InformationRequests/index.js";
5
5
  import * as t from "./components/Payroll/index.js";
6
- import * as p from "./components/UNSTABLE_TimeOff/index.js";
7
- import * as a from "./components/Employee/exports/employeeOnboarding.js";
6
+ import * as a from "./components/TimeOff/index.js";
7
+ import * as p from "./components/Employee/exports/employeeOnboarding.js";
8
8
  import * as s from "./components/Employee/exports/employeeManagement.js";
9
9
  import * as i from "./components/Company/exports/companyOnboarding.js";
10
- import * as d from "./components/Contractor/exports/contractorOnboarding.js";
10
+ import * as x from "./components/Contractor/exports/contractorOnboarding.js";
11
11
  import { ApiProvider as f } from "./contexts/ApiProvider/ApiProvider.js";
12
12
  import { componentEvents as c } from "./shared/constants.js";
13
- import { SDKInternalError as u, normalizeToSDKError as F } from "./types/sdkError.js";
14
- import { composeErrorHandler as y } from "./partner-hook-utils/composeErrorHandler.js";
15
- import { collectErrors as P } from "./partner-hook-utils/collectErrors.js";
16
- import { useCompensationForm as A } from "./components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js";
17
- import { CompensationErrorCodes as h, createCompensationSchema as k } from "./components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js";
18
- import { useEmployeeDetailsForm as v } from "./components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js";
19
- import { EmployeeDetailsErrorCodes as O, createEmployeeDetailsSchema as R } from "./components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.js";
20
- import { useWorkAddressForm as M } from "./components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js";
21
- import { useCurrentWorkAddressForm as $ } from "./components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js";
22
- import { WorkAddressErrorCodes as N, createWorkAddressSchema as T } from "./components/Employee/Profile/shared/useWorkAddressForm/workAddressSchema.js";
23
- import { useHomeAddressForm as K } from "./components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js";
24
- import { useCurrentHomeAddressForm as B } from "./components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js";
25
- import { HomeAddressErrorCodes as U, createHomeAddressSchema as X } from "./components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js";
26
- import { useSignEmployeeForm as z } from "./components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.js";
27
- import { MAX_PREPARERS as j, PREPARER_FIELDS_BY_INDEX as J, SignEmployeeFormErrorCodes as Q, createSignEmployeeFormSchema as V, preparerFieldName as Z } from "./components/Employee/DocumentSigner/shared/useSignEmployeeForm/signEmployeeFormSchema.js";
28
- import { usePayScheduleForm as ro } from "./components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js";
29
- import { PayScheduleErrorCodes as mo, createPayScheduleSchema as to } from "./components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js";
30
- import { useSignCompanyForm as ao } from "./components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js";
31
- import { SignCompanyFormErrorCodes as io, createSignCompanyFormSchema as no } from "./components/Company/DocumentSigner/shared/useSignCompanyForm/signCompanyFormSchema.js";
32
- import { CheckboxHookField as fo } from "./partner-hook-utils/form/fields/CheckboxHookField.js";
33
- import { DatePickerHookField as co } from "./partner-hook-utils/form/fields/DatePickerHookField.js";
34
- import { FormFieldsMetadataProvider as uo } from "./partner-hook-utils/form/FormFieldsMetadataProvider.js";
35
- import { GustoApiProvider as So, GustoProvider as yo } from "./contexts/GustoProvider/GustoProvider.js";
36
- import { GustoProviderCustomUIAdapter as Po } from "./contexts/GustoProvider/GustoProviderCustomUIAdapter.js";
37
- import { NumberInputHookField as Ao } from "./partner-hook-utils/form/fields/NumberInputHookField.js";
38
- import { ObservabilityProvider as ho } from "./contexts/ObservabilityProvider/ObservabilityProvider.js";
39
- import { RadioGroupHookField as Ho } from "./partner-hook-utils/form/fields/RadioGroupHookField.js";
40
- import { SDKFormProvider as Do } from "./partner-hook-utils/form/SDKFormProvider.js";
41
- import { SelectHookField as Ro } from "./partner-hook-utils/form/fields/SelectHookField.js";
42
- import { SwitchHookField as Mo } from "./partner-hook-utils/form/fields/SwitchHookField.js";
43
- import { TextInputHookField as $o } from "./partner-hook-utils/form/fields/TextInputHookField.js";
44
- import { composeSubmitHandler as No } from "./partner-hook-utils/form/composeSubmitHandler.js";
45
- import { useDeriveFieldsMetadata as Wo } from "./partner-hook-utils/form/useDeriveFieldsMetadata.js";
46
- import { useFieldErrorMessage as wo } from "./partner-hook-utils/form/useFieldErrorMessage.js";
47
- import { useObservability as Lo } from "./contexts/ObservabilityProvider/useObservability.js";
48
- import { withOptions as Xo } from "./partner-hook-utils/form/withOptions.js";
13
+ import { SDKInternalError as u, normalizeToSDKError as E } from "./types/sdkError.js";
14
+ import { composeErrorHandler as C } from "./partner-hook-utils/composeErrorHandler.js";
15
+ import { collectErrors as b } from "./partner-hook-utils/collectErrors.js";
16
+ import { useCompensationForm as h } from "./components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js";
17
+ import { useCurrentCompensationForm as P } from "./components/Employee/Compensation/shared/useCompensationForm/useCurrentCompensationForm.js";
18
+ import { CompensationErrorCodes as H, createCompensationSchema as v } from "./components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js";
19
+ import { useJobForm as D } from "./components/Employee/Compensation/shared/useJobForm/useJobForm.js";
20
+ import { useCurrentJobForm as I } from "./components/Employee/Compensation/shared/useJobForm/useCurrentJobForm.js";
21
+ import { JobErrorCodes as M, createJobSchema as _ } from "./components/Employee/Compensation/shared/useJobForm/jobSchema.js";
22
+ import { useEmployeeDetailsForm as $ } from "./components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js";
23
+ import { EmployeeDetailsErrorCodes as N, createEmployeeDetailsSchema as W } from "./components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.js";
24
+ import { useWorkAddressForm as L } from "./components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js";
25
+ import { useCurrentWorkAddressForm as w } from "./components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js";
26
+ import { WorkAddressErrorCodes as X, createWorkAddressSchema as q } from "./components/Employee/Profile/shared/useWorkAddressForm/workAddressSchema.js";
27
+ import { useHomeAddressForm as B } from "./components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js";
28
+ import { useCurrentHomeAddressForm as Y } from "./components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js";
29
+ import { HomeAddressErrorCodes as Z, createHomeAddressSchema as rr } from "./components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js";
30
+ import { useFederalTaxesForm as er } from "./components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js";
31
+ import { FILING_STATUS_VALUES as tr, FederalTaxesErrorCodes as ar, createFederalTaxesSchema as pr } from "./components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js";
32
+ import { useSignEmployeeForm as ir } from "./components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.js";
33
+ import { MAX_PREPARERS as dr, PREPARER_FIELDS_BY_INDEX as nr, SignEmployeeFormErrorCodes as fr, createSignEmployeeFormSchema as lr, preparerFieldName as cr } from "./components/Employee/DocumentSigner/shared/useSignEmployeeForm/signEmployeeFormSchema.js";
34
+ import { usePayScheduleForm as ur } from "./components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js";
35
+ import { PayScheduleErrorCodes as Sr, createPayScheduleSchema as Cr } from "./components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js";
36
+ import { useSignCompanyForm as br } from "./components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js";
37
+ import { SignCompanyFormErrorCodes as hr, createSignCompanyFormSchema as Ar } from "./components/Company/DocumentSigner/shared/useSignCompanyForm/signCompanyFormSchema.js";
38
+ import { CheckboxHookField as kr } from "./partner-hook-utils/form/fields/CheckboxHookField.js";
39
+ import { DatePickerHookField as vr } from "./partner-hook-utils/form/fields/DatePickerHookField.js";
40
+ import { EmployeeStateTaxesErrorCodes as Dr, createEmployeeStateTaxesSchema as Or } from "./components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.js";
41
+ import { FormFieldsMetadataProvider as Rr } from "./partner-hook-utils/form/FormFieldsMetadataProvider.js";
42
+ import { GustoApiProvider as _r, GustoProvider as Gr } from "./contexts/GustoProvider/GustoProvider.js";
43
+ import { GustoProviderCustomUIAdapter as Jr } from "./contexts/GustoProvider/GustoProviderCustomUIAdapter.js";
44
+ import { NumberInputHookField as Wr } from "./partner-hook-utils/form/fields/NumberInputHookField.js";
45
+ import { ObservabilityProvider as Lr } from "./contexts/ObservabilityProvider/ObservabilityProvider.js";
46
+ import { RadioGroupHookField as wr } from "./partner-hook-utils/form/fields/RadioGroupHookField.js";
47
+ import { SDKFormProvider as Xr } from "./partner-hook-utils/form/SDKFormProvider.js";
48
+ import { SelectHookField as zr } from "./partner-hook-utils/form/fields/SelectHookField.js";
49
+ import { SwitchHookField as Qr } from "./partner-hook-utils/form/fields/SwitchHookField.js";
50
+ import { TextInputHookField as jr } from "./partner-hook-utils/form/fields/TextInputHookField.js";
51
+ import { composeSubmitHandler as ro } from "./partner-hook-utils/form/composeSubmitHandler.js";
52
+ import { createStateFields as eo, useStateFields as mo } from "./components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js";
53
+ import { getQuestionVariant as ao } from "./components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.js";
54
+ import { useDeriveFieldsMetadata as so } from "./partner-hook-utils/form/useDeriveFieldsMetadata.js";
55
+ import { useEmployeeStateTaxesForm as xo } from "./components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js";
56
+ import { useFieldErrorMessage as fo } from "./partner-hook-utils/form/useFieldErrorMessage.js";
57
+ import { useObservability as co } from "./contexts/ObservabilityProvider/useObservability.js";
58
+ import { withOptions as uo } from "./partner-hook-utils/form/withOptions.js";
49
59
  export {
50
60
  f as ApiProvider,
51
- fo as CheckboxHookField,
52
- o as Company,
61
+ kr as CheckboxHookField,
62
+ r as Company,
53
63
  i as CompanyOnboarding,
54
- h as CompensationErrorCodes,
55
- r as Contractor,
56
- d as ContractorOnboarding,
57
- co as DatePickerHookField,
64
+ H as CompensationErrorCodes,
65
+ o as Contractor,
66
+ x as ContractorOnboarding,
67
+ vr as DatePickerHookField,
58
68
  e as Employee,
59
- O as EmployeeDetailsErrorCodes,
69
+ N as EmployeeDetailsErrorCodes,
60
70
  s as EmployeeManagement,
61
- a as EmployeeOnboarding,
62
- uo as FormFieldsMetadataProvider,
63
- So as GustoApiProvider,
64
- yo as GustoProvider,
65
- Po as GustoProviderCustomUIAdapter,
66
- U as HomeAddressErrorCodes,
71
+ p as EmployeeOnboarding,
72
+ Dr as EmployeeStateTaxesErrorCodes,
73
+ tr as FILING_STATUS_VALUES,
74
+ ar as FederalTaxesErrorCodes,
75
+ Rr as FormFieldsMetadataProvider,
76
+ _r as GustoApiProvider,
77
+ Gr as GustoProvider,
78
+ Jr as GustoProviderCustomUIAdapter,
79
+ Z as HomeAddressErrorCodes,
67
80
  m as InformationRequests,
68
- j as MAX_PREPARERS,
69
- Ao as NumberInputHookField,
70
- ho as ObservabilityProvider,
71
- J as PREPARER_FIELDS_BY_INDEX,
72
- mo as PayScheduleErrorCodes,
81
+ M as JobErrorCodes,
82
+ dr as MAX_PREPARERS,
83
+ Wr as NumberInputHookField,
84
+ Lr as ObservabilityProvider,
85
+ nr as PREPARER_FIELDS_BY_INDEX,
86
+ Sr as PayScheduleErrorCodes,
73
87
  t as Payroll,
74
- Ho as RadioGroupHookField,
75
- Do as SDKFormProvider,
88
+ wr as RadioGroupHookField,
89
+ Xr as SDKFormProvider,
76
90
  u as SDKInternalError,
77
- Ro as SelectHookField,
78
- io as SignCompanyFormErrorCodes,
79
- Q as SignEmployeeFormErrorCodes,
80
- Mo as SwitchHookField,
81
- $o as TextInputHookField,
82
- p as UNSTABLE_TimeOff,
83
- N as WorkAddressErrorCodes,
84
- P as collectErrors,
91
+ zr as SelectHookField,
92
+ hr as SignCompanyFormErrorCodes,
93
+ fr as SignEmployeeFormErrorCodes,
94
+ Qr as SwitchHookField,
95
+ jr as TextInputHookField,
96
+ a as TimeOff,
97
+ X as WorkAddressErrorCodes,
98
+ b as collectErrors,
85
99
  c as componentEvents,
86
- y as composeErrorHandler,
87
- No as composeSubmitHandler,
88
- k as createCompensationSchema,
89
- R as createEmployeeDetailsSchema,
90
- X as createHomeAddressSchema,
91
- to as createPayScheduleSchema,
92
- no as createSignCompanyFormSchema,
93
- V as createSignEmployeeFormSchema,
94
- T as createWorkAddressSchema,
95
- F as normalizeToSDKError,
96
- Z as preparerFieldName,
97
- A as useCompensationForm,
98
- B as useCurrentHomeAddressForm,
99
- $ as useCurrentWorkAddressForm,
100
- Wo as useDeriveFieldsMetadata,
101
- v as useEmployeeDetailsForm,
102
- wo as useFieldErrorMessage,
103
- K as useHomeAddressForm,
104
- Lo as useObservability,
105
- ro as usePayScheduleForm,
106
- ao as useSignCompanyForm,
107
- z as useSignEmployeeForm,
108
- M as useWorkAddressForm,
109
- Xo as withOptions
100
+ C as composeErrorHandler,
101
+ ro as composeSubmitHandler,
102
+ v as createCompensationSchema,
103
+ W as createEmployeeDetailsSchema,
104
+ Or as createEmployeeStateTaxesSchema,
105
+ pr as createFederalTaxesSchema,
106
+ rr as createHomeAddressSchema,
107
+ _ as createJobSchema,
108
+ Cr as createPayScheduleSchema,
109
+ Ar as createSignCompanyFormSchema,
110
+ lr as createSignEmployeeFormSchema,
111
+ eo as createStateFields,
112
+ q as createWorkAddressSchema,
113
+ ao as getQuestionVariant,
114
+ E as normalizeToSDKError,
115
+ cr as preparerFieldName,
116
+ h as useCompensationForm,
117
+ P as useCurrentCompensationForm,
118
+ Y as useCurrentHomeAddressForm,
119
+ I as useCurrentJobForm,
120
+ w as useCurrentWorkAddressForm,
121
+ so as useDeriveFieldsMetadata,
122
+ $ as useEmployeeDetailsForm,
123
+ xo as useEmployeeStateTaxesForm,
124
+ er as useFederalTaxesForm,
125
+ fo as useFieldErrorMessage,
126
+ B as useHomeAddressForm,
127
+ D as useJobForm,
128
+ co as useObservability,
129
+ ur as usePayScheduleForm,
130
+ br as useSignCompanyForm,
131
+ ir as useSignEmployeeForm,
132
+ mo as useStateFields,
133
+ L as useWorkAddressForm,
134
+ uo as withOptions
110
135
  };
111
136
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,24 +1,28 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { useEffect as i } from "react";
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { useEffect as a } from "react";
3
3
  import { FormProvider as d } from "react-hook-form";
4
- import { FormFieldsMetadataProvider as f } from "./FormFieldsMetadataProvider.js";
5
- function m(o, s) {
6
- const { fieldsMetadata: e } = s, { setError: r } = s.hookFormInternals.formMethods;
7
- i(() => {
4
+ import { FormFieldsMetadataProvider as l } from "./FormFieldsMetadataProvider.js";
5
+ import { FieldElementRegistryProvider as f } from "../../components/Common/Fields/hooks/FieldElementRegistryProvider.js";
6
+ import { normalizeErrorKeyForForm as c } from "../../helpers/formattedStrings.js";
7
+ function F(o, t) {
8
+ const { fieldsMetadata: e } = t, { setError: r } = t.hookFormInternals.formMethods;
9
+ a(() => {
8
10
  if (!o.length) return;
9
- const n = new Set(Object.keys(e));
10
- for (const t of o)
11
- n.has(t.field) && r(t.field, {
11
+ const i = new Set(Object.keys(e));
12
+ for (const s of o) {
13
+ const m = c(s.field);
14
+ i.has(m) && r(m, {
12
15
  type: "custom",
13
- message: t.message
16
+ message: s.message
14
17
  });
18
+ }
15
19
  }, [o, r, e]);
16
20
  }
17
- function p({ formHookResult: o, children: s }) {
18
- const { errorHandling: e, form: r } = o, n = e.errors.flatMap((t) => t.fieldErrors);
19
- return m(n, r), /* @__PURE__ */ a(f, { metadata: r.fieldsMetadata, errors: e.errors, children: /* @__PURE__ */ a(d, { ...r.hookFormInternals.formMethods, children: s }) });
21
+ function M({ formHookResult: o, children: t }) {
22
+ const { errorHandling: e, form: r } = o, i = e.errors.flatMap((s) => s.fieldErrors);
23
+ return F(i, r), /* @__PURE__ */ n(l, { metadata: r.fieldsMetadata, errors: e.errors, children: /* @__PURE__ */ n(f, { registry: r.hookFormInternals._fieldElementRegistry, children: /* @__PURE__ */ n(d, { ...r.hookFormInternals.formMethods, children: t }) }) });
20
24
  }
21
25
  export {
22
- p as SDKFormProvider
26
+ M as SDKFormProvider
23
27
  };
24
28
  //# sourceMappingURL=SDKFormProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SDKFormProvider.js","sources":["../../../src/partner-hook-utils/form/SDKFormProvider.tsx"],"sourcesContent":["import { type ReactNode, useEffect } from 'react'\nimport type { FieldPath, FieldValues } from 'react-hook-form'\nimport { FormProvider } from 'react-hook-form'\nimport type { FieldMetadata, FieldMetadataWithOptions, HookFormInternals } from '../types'\nimport { FormFieldsMetadataProvider } from './FormFieldsMetadataProvider'\nimport type { SDKError, SDKFieldError } from '@/types/sdkError'\n\nfunction useSyncFieldErrors<\n TFormData extends FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n },\n>(\n fieldErrors: SDKFieldError[],\n form: {\n fieldsMetadata: TFieldsMetadata\n hookFormInternals: HookFormInternals<TFormData>\n },\n) {\n const { fieldsMetadata } = form\n const { setError } = form.hookFormInternals.formMethods\n\n useEffect(() => {\n if (!fieldErrors.length) return\n const knownFields = new Set(Object.keys(fieldsMetadata))\n for (const fieldError of fieldErrors) {\n if (knownFields.has(fieldError.field)) {\n setError(fieldError.field as FieldPath<TFormData>, {\n type: 'custom',\n message: fieldError.message,\n })\n }\n }\n }, [fieldErrors, setError, fieldsMetadata])\n}\n\ninterface SDKFormProviderProps<\n TFormData extends FieldValues = FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n } = Record<string, FieldMetadata | FieldMetadataWithOptions>,\n> {\n formHookResult: {\n errorHandling: { errors: SDKError[] }\n form: {\n fieldsMetadata: TFieldsMetadata\n hookFormInternals: HookFormInternals<TFormData>\n }\n }\n children: ReactNode\n}\n\nexport function SDKFormProvider<\n TFormData extends FieldValues = FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n } = Record<string, FieldMetadata | FieldMetadataWithOptions>,\n>({ formHookResult, children }: SDKFormProviderProps<TFormData, TFieldsMetadata>) {\n const { errorHandling, form } = formHookResult\n const allFieldErrors = errorHandling.errors.flatMap(e => e.fieldErrors)\n useSyncFieldErrors(allFieldErrors, form)\n\n return (\n <FormFieldsMetadataProvider metadata={form.fieldsMetadata} errors={errorHandling.errors}>\n <FormProvider {...form.hookFormInternals.formMethods}>{children}</FormProvider>\n </FormFieldsMetadataProvider>\n )\n}\n"],"names":["useSyncFieldErrors","fieldErrors","form","fieldsMetadata","setError","useEffect","knownFields","fieldError","SDKFormProvider","formHookResult","children","errorHandling","allFieldErrors","e","jsx","FormFieldsMetadataProvider","FormProvider"],"mappings":";;;;AAOA,SAASA,EAMPC,GACAC,GAIA;AACA,QAAM,EAAE,gBAAAC,MAAmBD,GACrB,EAAE,UAAAE,EAAA,IAAaF,EAAK,kBAAkB;AAE5C,EAAAG,EAAU,MAAM;AACd,QAAI,CAACJ,EAAY,OAAQ;AACzB,UAAMK,IAAc,IAAI,IAAI,OAAO,KAAKH,CAAc,CAAC;AACvD,eAAWI,KAAcN;AACvB,MAAIK,EAAY,IAAIC,EAAW,KAAK,KAClCH,EAASG,EAAW,OAA+B;AAAA,QACjD,MAAM;AAAA,QACN,SAASA,EAAW;AAAA,MAAA,CACrB;AAAA,EAGP,GAAG,CAACN,GAAaG,GAAUD,CAAc,CAAC;AAC5C;AAkBO,SAASK,EAKd,EAAE,gBAAAC,GAAgB,UAAAC,KAA8D;AAChF,QAAM,EAAE,eAAAC,GAAe,MAAAT,EAAA,IAASO,GAC1BG,IAAiBD,EAAc,OAAO,QAAQ,CAAAE,MAAKA,EAAE,WAAW;AACtE,SAAAb,EAAmBY,GAAgBV,CAAI,GAGrC,gBAAAY,EAACC,GAAA,EAA2B,UAAUb,EAAK,gBAAgB,QAAQS,EAAc,QAC/E,UAAA,gBAAAG,EAACE,KAAc,GAAGd,EAAK,kBAAkB,aAAc,UAAAQ,GAAS,GAClE;AAEJ;"}
1
+ {"version":3,"file":"SDKFormProvider.js","sources":["../../../src/partner-hook-utils/form/SDKFormProvider.tsx"],"sourcesContent":["import { type ReactNode, useEffect } from 'react'\nimport type { FieldPath, FieldValues } from 'react-hook-form'\nimport { FormProvider } from 'react-hook-form'\nimport type { FieldMetadata, FieldMetadataWithOptions, HookFormInternals } from '../types'\nimport { FormFieldsMetadataProvider } from './FormFieldsMetadataProvider'\nimport { FieldElementRegistryProvider } from '@/components/Common/Fields/hooks/FieldElementRegistryProvider'\nimport { normalizeErrorKeyForForm } from '@/helpers/formattedStrings'\nimport type { SDKError, SDKFieldError } from '@/types/sdkError'\n\nfunction useSyncFieldErrors<\n TFormData extends FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n },\n>(\n fieldErrors: SDKFieldError[],\n form: {\n fieldsMetadata: TFieldsMetadata\n hookFormInternals: HookFormInternals<TFormData>\n },\n) {\n const { fieldsMetadata } = form\n const { setError } = form.hookFormInternals.formMethods\n\n useEffect(() => {\n if (!fieldErrors.length) return\n const knownFields = new Set(Object.keys(fieldsMetadata))\n for (const fieldError of fieldErrors) {\n const normalizedField = normalizeErrorKeyForForm(fieldError.field)\n if (knownFields.has(normalizedField)) {\n setError(normalizedField as FieldPath<TFormData>, {\n type: 'custom',\n message: fieldError.message,\n })\n }\n }\n }, [fieldErrors, setError, fieldsMetadata])\n}\n\ninterface SDKFormProviderProps<\n TFormData extends FieldValues = FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n } = Record<string, FieldMetadata | FieldMetadataWithOptions>,\n> {\n formHookResult: {\n errorHandling: { errors: SDKError[] }\n form: {\n fieldsMetadata: TFieldsMetadata\n hookFormInternals: HookFormInternals<TFormData>\n }\n }\n children: ReactNode\n}\n\nexport function SDKFormProvider<\n TFormData extends FieldValues = FieldValues,\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n } = Record<string, FieldMetadata | FieldMetadataWithOptions>,\n>({ formHookResult, children }: SDKFormProviderProps<TFormData, TFieldsMetadata>) {\n const { errorHandling, form } = formHookResult\n const allFieldErrors = errorHandling.errors.flatMap(e => e.fieldErrors)\n useSyncFieldErrors(allFieldErrors, form)\n\n return (\n <FormFieldsMetadataProvider metadata={form.fieldsMetadata} errors={errorHandling.errors}>\n <FieldElementRegistryProvider registry={form.hookFormInternals._fieldElementRegistry}>\n <FormProvider {...form.hookFormInternals.formMethods}>{children}</FormProvider>\n </FieldElementRegistryProvider>\n </FormFieldsMetadataProvider>\n )\n}\n"],"names":["useSyncFieldErrors","fieldErrors","form","fieldsMetadata","setError","useEffect","knownFields","fieldError","normalizedField","normalizeErrorKeyForForm","SDKFormProvider","formHookResult","children","errorHandling","allFieldErrors","e","jsx","FormFieldsMetadataProvider","FieldElementRegistryProvider","FormProvider"],"mappings":";;;;;;AASA,SAASA,EAMPC,GACAC,GAIA;AACA,QAAM,EAAE,gBAAAC,MAAmBD,GACrB,EAAE,UAAAE,EAAA,IAAaF,EAAK,kBAAkB;AAE5C,EAAAG,EAAU,MAAM;AACd,QAAI,CAACJ,EAAY,OAAQ;AACzB,UAAMK,IAAc,IAAI,IAAI,OAAO,KAAKH,CAAc,CAAC;AACvD,eAAWI,KAAcN,GAAa;AACpC,YAAMO,IAAkBC,EAAyBF,EAAW,KAAK;AACjE,MAAID,EAAY,IAAIE,CAAe,KACjCJ,EAASI,GAAyC;AAAA,QAChD,MAAM;AAAA,QACN,SAASD,EAAW;AAAA,MAAA,CACrB;AAAA,IAEL;AAAA,EACF,GAAG,CAACN,GAAaG,GAAUD,CAAc,CAAC;AAC5C;AAkBO,SAASO,EAKd,EAAE,gBAAAC,GAAgB,UAAAC,KAA8D;AAChF,QAAM,EAAE,eAAAC,GAAe,MAAAX,EAAA,IAASS,GAC1BG,IAAiBD,EAAc,OAAO,QAAQ,CAAAE,MAAKA,EAAE,WAAW;AACtE,SAAAf,EAAmBc,GAAgBZ,CAAI,GAGrC,gBAAAc,EAACC,KAA2B,UAAUf,EAAK,gBAAgB,QAAQW,EAAc,QAC/E,UAAA,gBAAAG,EAACE,GAAA,EAA6B,UAAUhB,EAAK,kBAAkB,uBAC7D,4BAACiB,GAAA,EAAc,GAAGjB,EAAK,kBAAkB,aAAc,UAAAU,EAAA,CAAS,EAAA,CAClE,EAAA,CACF;AAEJ;"}