@gusto/embedded-react-sdk 0.36.0 → 0.37.0-rc.2

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 (712) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +6 -0
  3. package/dist/UNSTABLE_Hooks.d.ts +1 -1
  4. package/dist/UNSTABLE_Hooks.js +50 -6
  5. package/dist/UNSTABLE_Hooks.js.map +1 -1
  6. package/dist/components/Base/Base.d.ts +8 -9
  7. package/dist/components/Base/Base.js +123 -102
  8. package/dist/components/Base/Base.js.map +1 -1
  9. package/dist/components/Base/createCompoundContext.js.map +1 -1
  10. package/dist/components/Base/index.d.ts +1 -1
  11. package/dist/components/Base/useBase.d.ts +3 -7
  12. package/dist/components/Base/useBase.js.map +1 -1
  13. package/dist/components/Base/useBaseSubmit.d.ts +3 -5
  14. package/dist/components/Base/useBaseSubmit.js +27 -50
  15. package/dist/components/Base/useBaseSubmit.js.map +1 -1
  16. package/dist/components/Common/DataView/DataCards/DataCards.js +42 -36
  17. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  18. package/dist/components/Common/Fields/CheckboxField/CheckboxField.d.ts +2 -0
  19. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +22 -19
  20. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
  21. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
  22. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +32 -30
  23. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
  24. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
  25. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -34
  26. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
  27. package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +5 -3
  28. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +52 -40
  29. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
  30. package/dist/components/Common/Fields/FileInputField/FileInputField.js +24 -22
  31. package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
  32. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js +24 -22
  33. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
  34. package/dist/components/Common/Fields/NumberInputField/NumberInputField.d.ts +2 -0
  35. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +31 -28
  36. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
  37. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +3 -1
  38. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +30 -27
  39. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
  40. package/dist/components/Common/Fields/SelectField/SelectField.d.ts +3 -1
  41. package/dist/components/Common/Fields/SelectField/SelectField.js +31 -28
  42. package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
  43. package/dist/components/Common/Fields/SwitchField/SwitchField.d.ts +2 -0
  44. package/dist/components/Common/Fields/SwitchField/SwitchField.js +24 -21
  45. package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
  46. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js +24 -22
  47. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
  48. package/dist/components/Common/Fields/TextInputField/TextInputField.d.ts +2 -0
  49. package/dist/components/Common/Fields/TextInputField/TextInputField.js +26 -23
  50. package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
  51. package/dist/components/Common/Fields/hooks/useField.d.ts +3 -2
  52. package/dist/components/Common/Fields/hooks/useField.js +37 -33
  53. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  54. package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
  55. package/dist/components/Common/SignatureForm/SignatureForm.js +10 -15
  56. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  57. package/dist/components/Common/SignatureForm/SignatureFormActions.js +10 -14
  58. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  59. package/dist/components/Common/SignatureForm/SignatureFormFields.js +14 -19
  60. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  61. package/dist/components/Common/UI/Button/Button.js +33 -29
  62. package/dist/components/Common/UI/Button/Button.js.map +1 -1
  63. package/dist/components/Common/UI/Button/Button.module.scss.js +5 -3
  64. package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -1
  65. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -0
  66. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
  67. package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +1 -1
  68. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +94 -80
  69. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  70. package/dist/components/Common/UI/NumberInput/NumberInput.js +1 -1
  71. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  72. package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -11
  73. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  74. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -10
  75. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  76. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -11
  77. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  78. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -9
  79. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  80. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -14
  81. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  82. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +8 -9
  83. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  84. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -9
  85. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  86. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -8
  87. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  88. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +13 -14
  89. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  90. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +8 -9
  91. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  92. package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -5
  93. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  94. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +10 -11
  95. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  96. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +9 -11
  97. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  98. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -13
  99. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  100. package/dist/components/Company/BankAccount/BankAccountForm/context.js +8 -9
  101. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  102. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -13
  103. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  104. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +12 -15
  105. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  106. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -8
  107. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  108. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -8
  109. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  110. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +11 -15
  111. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  112. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +8 -9
  113. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  114. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
  115. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  116. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +8 -9
  117. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  118. package/dist/components/Company/FederalTaxes/Actions.js +8 -11
  119. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  120. package/dist/components/Company/FederalTaxes/FederalTaxes.js +15 -19
  121. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  122. package/dist/components/Company/FederalTaxes/Form.js +6 -8
  123. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  124. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -11
  125. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  126. package/dist/components/Company/Industry/Actions.js +8 -11
  127. package/dist/components/Company/Industry/Actions.js.map +1 -1
  128. package/dist/components/Company/Industry/Context.js +11 -12
  129. package/dist/components/Company/Industry/Context.js.map +1 -1
  130. package/dist/components/Company/Industry/Edit.js +10 -14
  131. package/dist/components/Company/Industry/Edit.js.map +1 -1
  132. package/dist/components/Company/Locations/LocationForm/Actions.js +8 -11
  133. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  134. package/dist/components/Company/Locations/LocationForm/Form.js +5 -7
  135. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  136. package/dist/components/Company/Locations/LocationForm/LocationForm.js +15 -19
  137. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  138. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +8 -9
  139. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  140. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -9
  141. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  142. package/dist/components/Company/Locations/LocationsList/List.js +17 -19
  143. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  144. package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -10
  145. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  146. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +8 -9
  147. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  148. package/dist/components/Company/OnboardingOverview/Completed.js +12 -15
  149. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  150. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +9 -12
  151. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  152. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -10
  153. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  154. package/dist/components/Company/OnboardingOverview/context.js +8 -9
  155. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  156. package/dist/components/Company/PaySchedule/PaySchedule.js +60 -63
  157. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  158. package/dist/components/Company/PaySchedule/_parts/Actions.js +10 -13
  159. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  160. package/dist/components/Company/PaySchedule/_parts/Edit.js +15 -15
  161. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  162. package/dist/components/Company/PaySchedule/_parts/Head.js +11 -14
  163. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  164. package/dist/components/Company/PaySchedule/_parts/List.js +19 -21
  165. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  166. package/dist/components/Company/PaySchedule/usePaySchedule.js +10 -11
  167. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  168. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -8
  169. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  170. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
  171. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +8 -9
  172. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  173. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -9
  174. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  175. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +5 -8
  176. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  177. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +8 -9
  178. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  179. package/dist/components/Contractor/Address/Address.js +3 -7
  180. package/dist/components/Contractor/Address/Address.js.map +1 -1
  181. package/dist/components/Contractor/Address/Form.js +6 -8
  182. package/dist/components/Contractor/Address/Form.js.map +1 -1
  183. package/dist/components/Contractor/Address/useAddress.js +10 -11
  184. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  185. package/dist/components/Contractor/ContractorList/index.js +29 -30
  186. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  187. package/dist/components/Contractor/NewHireReport/NewHireReport.js +2 -3
  188. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  189. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -14
  190. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  191. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +2 -3
  192. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  193. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -5
  194. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  195. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
  196. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +12 -14
  197. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  198. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +10 -10
  199. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +18 -21
  200. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  201. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +3 -4
  202. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
  203. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +17 -19
  204. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  205. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +6 -8
  206. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  207. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +2 -4
  208. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
  209. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +2 -5
  210. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  211. package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
  212. package/dist/components/Contractor/Profile/useContractorProfile.js +33 -32
  213. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  214. package/dist/components/Contractor/Submit/Submit.js +20 -22
  215. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  216. package/dist/components/Employee/Compensation/Actions.js +12 -14
  217. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  218. package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
  219. package/dist/components/Employee/Compensation/Edit.js +27 -28
  220. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  221. package/dist/components/Employee/Compensation/List.js +23 -25
  222. package/dist/components/Employee/Compensation/List.js.map +1 -1
  223. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +61 -57
  224. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
  225. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +15 -16
  226. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
  227. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  228. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +15 -16
  229. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
  230. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +18 -19
  231. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  232. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +6 -7
  233. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
  234. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -9
  235. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  236. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +10 -14
  237. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  238. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -6
  239. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  240. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +8 -9
  241. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  242. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +24 -26
  243. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  244. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +9 -11
  245. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  246. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
  247. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  248. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +8 -9
  249. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  250. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +6 -9
  251. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  252. package/dist/components/Employee/EmployeeList/Actions.js +6 -9
  253. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  254. package/dist/components/Employee/EmployeeList/EmployeeList.js +3 -7
  255. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  256. package/dist/components/Employee/EmployeeList/Head.js +5 -8
  257. package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
  258. package/dist/components/Employee/EmployeeList/List.js +16 -17
  259. package/dist/components/Employee/EmployeeList/List.js.map +1 -1
  260. package/dist/components/Employee/EmployeeList/useEmployeeList.js +8 -9
  261. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  262. package/dist/components/Employee/FederalTaxes/Actions.js +7 -10
  263. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  264. package/dist/components/Employee/FederalTaxes/FederalForm.js +10 -13
  265. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  266. package/dist/components/Employee/FederalTaxes/FederalTaxes.js +42 -42
  267. package/dist/components/Employee/FederalTaxes/FederalTaxes.js.map +1 -1
  268. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +8 -9
  269. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  270. package/dist/components/Employee/Landing/Landing.js +14 -15
  271. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  272. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  273. package/dist/components/Employee/PaymentMethod/Actions.js +8 -11
  274. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  275. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +5 -8
  276. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  277. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +9 -10
  278. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  279. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +7 -10
  280. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  281. package/dist/components/Employee/PaymentMethod/Split.js +9 -10
  282. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  283. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +10 -11
  284. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  285. package/dist/components/Employee/Profile/Actions.js +8 -11
  286. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  287. package/dist/components/Employee/Profile/AdminPersonalDetails.js +14 -17
  288. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  289. package/dist/components/Employee/Profile/HomeAddress.d.ts +3 -3
  290. package/dist/components/Employee/Profile/HomeAddress.js +45 -44
  291. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  292. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +10 -13
  293. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  294. package/dist/components/Employee/Profile/Profile.js +30 -29
  295. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  296. package/dist/components/Employee/Profile/useProfile.js +8 -9
  297. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  298. package/dist/components/Employee/StateTaxes/Actions.js +8 -11
  299. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  300. package/dist/components/Employee/StateTaxes/StateTaxes.js +50 -50
  301. package/dist/components/Employee/StateTaxes/StateTaxes.js.map +1 -1
  302. package/dist/components/Employee/StateTaxes/useStateTaxes.js +8 -9
  303. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  304. package/dist/components/Employee/Taxes/Actions.js +8 -11
  305. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  306. package/dist/components/Employee/Taxes/FederalForm.js +10 -13
  307. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  308. package/dist/components/Employee/Taxes/Taxes.js +53 -53
  309. package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
  310. package/dist/components/Employee/Taxes/useTaxes.js +8 -9
  311. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  312. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.d.ts +11 -0
  313. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +123 -0
  314. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -0
  315. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +11 -0
  316. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +89 -0
  317. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -0
  318. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlow.d.ts +2 -0
  319. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlow.js +30 -0
  320. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlow.js.map +1 -0
  321. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +24 -0
  322. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +76 -0
  323. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -0
  324. package/dist/components/Employee/Terminations/TerminationFlow/index.d.ts +3 -0
  325. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.d.ts +8 -0
  326. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js +177 -0
  327. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js.map +1 -0
  328. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.test.d.ts +1 -0
  329. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.d.ts +9 -0
  330. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +86 -0
  331. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -0
  332. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +20 -0
  333. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +100 -0
  334. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -0
  335. package/dist/components/Employee/Terminations/TerminationsData.d.ts +6 -0
  336. package/dist/components/Employee/Terminations/index.d.ts +8 -0
  337. package/dist/components/Employee/Terminations/types.d.ts +1 -0
  338. package/dist/components/Employee/index.d.ts +7 -0
  339. package/dist/components/Employee/index.js +34 -28
  340. package/dist/components/Employee/index.js.map +1 -1
  341. package/dist/components/Flow/Flow.js +20 -23
  342. package/dist/components/Flow/Flow.js.map +1 -1
  343. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +16 -18
  344. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  345. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +18 -20
  346. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  347. package/dist/components/InformationRequests/InformationRequests.js +34 -35
  348. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  349. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +41 -41
  350. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
  351. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  352. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +8 -10
  353. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  354. package/dist/components/Payroll/Dismissal/DismissalFlow.d.ts +2 -0
  355. package/dist/components/Payroll/Dismissal/DismissalFlow.js +32 -0
  356. package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -0
  357. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +16 -0
  358. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +52 -0
  359. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -0
  360. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +7 -0
  361. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +73 -0
  362. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -0
  363. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +9 -0
  364. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +50 -0
  365. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -0
  366. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/index.d.ts +3 -0
  367. package/dist/components/Payroll/Dismissal/dismissalStateMachine.d.ts +6 -0
  368. package/dist/components/Payroll/Dismissal/dismissalStateMachine.js +51 -0
  369. package/dist/components/Payroll/Dismissal/dismissalStateMachine.js.map +1 -0
  370. package/dist/components/Payroll/Dismissal/dismissalStateMachine.test.d.ts +1 -0
  371. package/dist/components/Payroll/Dismissal/index.d.ts +3 -0
  372. package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
  373. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +89 -76
  374. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  375. package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +6 -6
  376. package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +0 -1
  377. package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
  378. package/dist/components/Payroll/OffCycle/OffCycleFlow.js +25 -18
  379. package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
  380. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +5 -0
  381. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +31 -24
  382. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  383. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +78 -75
  384. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  385. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
  386. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +75 -68
  387. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  388. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.module.scss.js +8 -0
  389. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.module.scss.js.map +1 -0
  390. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationTypes.d.ts +0 -1
  391. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +18 -26
  392. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  393. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.module.scss.js +4 -4
  394. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +4 -4
  395. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
  396. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +1 -0
  397. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +1 -0
  398. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
  399. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -9
  400. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  401. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +12 -14
  402. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  403. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -14
  404. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  405. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +12 -12
  406. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +174 -148
  407. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  408. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +3 -3
  409. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +71 -71
  410. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  411. package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.d.ts +3 -2
  412. package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.js +8 -8
  413. package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.js.map +1 -1
  414. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +5 -3
  415. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +76 -70
  416. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  417. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +47 -42
  418. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  419. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +5 -3
  420. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +256 -219
  421. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  422. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +19 -21
  423. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  424. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -0
  425. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js +19 -0
  426. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -0
  427. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +3 -0
  428. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  429. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -0
  430. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +21 -0
  431. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -0
  432. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +2 -0
  433. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +95 -64
  434. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  435. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +53 -47
  436. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  437. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +38 -40
  438. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  439. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +25 -23
  440. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  441. package/dist/components/Payroll/PayrollList/PayrollList.js +55 -43
  442. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  443. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -1
  444. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +110 -95
  445. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  446. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +12 -8
  447. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
  448. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +15 -15
  449. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  450. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +59 -59
  451. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  452. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +7 -10
  453. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  454. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +2 -3
  455. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  456. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -4
  457. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  458. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +11 -13
  459. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  460. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -5
  461. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  462. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +2 -0
  463. package/dist/components/Payroll/Transition/TransitionFlow.js +38 -0
  464. package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -0
  465. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +19 -0
  466. package/dist/components/Payroll/Transition/TransitionFlowComponents.js +54 -0
  467. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -0
  468. package/dist/components/Payroll/Transition/index.d.ts +3 -0
  469. package/dist/components/Payroll/Transition/transitionStateMachine.d.ts +6 -0
  470. package/dist/components/Payroll/Transition/transitionStateMachine.js +58 -0
  471. package/dist/components/Payroll/Transition/transitionStateMachine.js.map +1 -0
  472. package/dist/components/Payroll/Transition/transitionStateMachine.test.d.ts +1 -0
  473. package/dist/components/Payroll/TransitionCreation/TransitionCreation.d.ts +2 -0
  474. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +92 -0
  475. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -0
  476. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +2 -0
  477. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +109 -0
  478. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -0
  479. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.module.scss.js +8 -0
  480. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.module.scss.js.map +1 -0
  481. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +28 -0
  482. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js +21 -0
  483. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -0
  484. package/dist/components/Payroll/TransitionCreation/index.d.ts +3 -0
  485. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +8 -0
  486. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +83 -0
  487. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -0
  488. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +16 -0
  489. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +100 -0
  490. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -0
  491. package/dist/components/Payroll/TransitionPayrollAlert/index.d.ts +2 -0
  492. package/dist/components/Payroll/helpers.d.ts +6 -1
  493. package/dist/components/Payroll/helpers.js +100 -84
  494. package/dist/components/Payroll/helpers.js.map +1 -1
  495. package/dist/components/Payroll/index.d.ts +6 -0
  496. package/dist/components/Payroll/index.js +32 -26
  497. package/dist/components/Payroll/index.js.map +1 -1
  498. package/dist/components/Payroll/payrollTypes.d.ts +21 -0
  499. package/dist/components/Payroll/payrollTypes.js +27 -0
  500. package/dist/components/Payroll/payrollTypes.js.map +1 -0
  501. package/dist/components/Payroll/usePreparedPayrollData.js +6 -8
  502. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  503. package/dist/components/UNSTABLE_Hooks/collectErrors.d.ts +6 -0
  504. package/dist/components/UNSTABLE_Hooks/collectErrors.js +9 -0
  505. package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +1 -0
  506. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +8 -0
  507. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +10 -0
  508. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -0
  509. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +10 -0
  510. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js +13 -0
  511. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -0
  512. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +23 -0
  513. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js +24 -0
  514. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -0
  515. package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.d.ts +26 -0
  516. package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js +24 -0
  517. package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js.map +1 -0
  518. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.d.ts +53 -0
  519. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.js +34 -0
  520. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.js.map +1 -0
  521. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.test.d.ts +1 -0
  522. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +3 -0
  523. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js +14 -0
  524. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +1 -0
  525. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.test.d.ts +1 -0
  526. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +11 -0
  527. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +34 -0
  528. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -0
  529. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +11 -0
  530. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js +34 -0
  531. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -0
  532. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +14 -0
  533. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +40 -0
  534. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -0
  535. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +12 -0
  536. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +40 -0
  537. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -0
  538. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +12 -0
  539. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +40 -0
  540. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -0
  541. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +11 -0
  542. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +34 -0
  543. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -0
  544. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +13 -0
  545. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +38 -0
  546. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -0
  547. package/dist/components/UNSTABLE_Hooks/form/fields/index.d.ts +15 -0
  548. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +2 -0
  549. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js +8 -0
  550. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -0
  551. package/dist/components/UNSTABLE_Hooks/form/getFormSubmissionValues.d.ts +18 -0
  552. package/dist/components/UNSTABLE_Hooks/form/getFormSubmissionValues.js +10 -0
  553. package/dist/components/UNSTABLE_Hooks/form/getFormSubmissionValues.js.map +1 -0
  554. package/dist/components/UNSTABLE_Hooks/form/getFormSubmissionValues.test.d.ts +1 -0
  555. package/dist/components/UNSTABLE_Hooks/form/index.d.ts +16 -0
  556. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +4 -0
  557. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +13 -0
  558. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -0
  559. package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.d.ts +6 -0
  560. package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js +14 -0
  561. package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js.map +1 -0
  562. package/dist/components/UNSTABLE_Hooks/form/types.d.ts +27 -0
  563. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +2 -0
  564. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +17 -0
  565. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -0
  566. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +4 -0
  567. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +8 -0
  568. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +1 -0
  569. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +23 -0
  570. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js +11 -0
  571. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -0
  572. package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +5 -0
  573. package/dist/components/UNSTABLE_Hooks/form/withOptions.js +7 -0
  574. package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -0
  575. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.d.ts +5 -0
  576. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +149 -0
  577. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -0
  578. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +97 -0
  579. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +121 -0
  580. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -0
  581. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +34 -0
  582. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js +50 -0
  583. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -0
  584. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/index.d.ts +7 -0
  585. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +104 -0
  586. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +259 -0
  587. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -0
  588. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.d.ts +5 -0
  589. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +112 -0
  590. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -0
  591. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +39 -0
  592. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js +45 -0
  593. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -0
  594. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +23 -0
  595. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js +46 -0
  596. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -0
  597. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/index.d.ts +7 -0
  598. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +77 -0
  599. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +153 -0
  600. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -0
  601. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.d.ts +5 -0
  602. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +69 -0
  603. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -0
  604. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +10 -0
  605. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js +14 -0
  606. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -0
  607. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/index.d.ts +7 -0
  608. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +68 -0
  609. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +129 -0
  610. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -0
  611. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.d.ts +25 -0
  612. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js +24 -0
  613. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js.map +1 -0
  614. package/dist/components/UNSTABLE_Hooks/index.d.ts +9 -0
  615. package/dist/components/UNSTABLE_Hooks/types.d.ts +49 -0
  616. package/dist/components/UNSTABLE_Hooks/useErrorHandling.d.ts +9 -0
  617. package/dist/components/UNSTABLE_Hooks/useErrorHandling.js +12 -0
  618. package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +1 -0
  619. package/dist/components/UNSTABLE_Hooks/useErrorHandling.test.d.ts +1 -0
  620. package/dist/contexts/ApiProvider/ApiProvider.js +11 -11
  621. package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
  622. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +43 -50
  623. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  624. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +10 -2
  625. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
  626. package/dist/contexts/ObservabilityProvider/index.d.ts +1 -1
  627. package/dist/contexts/ObservabilityProvider/sanitization.d.ts +0 -14
  628. package/dist/contexts/ObservabilityProvider/sanitization.js +51 -51
  629. package/dist/contexts/ObservabilityProvider/sanitization.js.map +1 -1
  630. package/dist/contexts/ObservabilityProvider/useSanitizedObservability.d.ts +0 -3
  631. package/dist/contexts/ObservabilityProvider/useSanitizedObservability.js.map +1 -1
  632. package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
  633. package/dist/helpers/requiredIf.d.ts +13 -0
  634. package/dist/helpers/requiredIf.js +8 -0
  635. package/dist/helpers/requiredIf.js.map +1 -0
  636. package/dist/i18n/I18n.js +7 -7
  637. package/dist/i18n/I18n.js.map +1 -1
  638. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +26 -0
  639. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
  640. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +24 -0
  641. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
  642. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +32 -0
  643. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
  644. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
  645. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
  646. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js +21 -0
  647. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
  648. package/dist/i18n/en/Employee.Terminations.TerminateEmployee.json.js +18 -0
  649. package/dist/i18n/en/Employee.Terminations.TerminateEmployee.json.js.map +1 -0
  650. package/dist/i18n/en/Employee.Terminations.TerminationFlow.json.js +12 -0
  651. package/dist/i18n/en/Employee.Terminations.TerminationFlow.json.js.map +1 -0
  652. package/dist/i18n/en/Employee.Terminations.TerminationSummary.json.js +20 -0
  653. package/dist/i18n/en/Employee.Terminations.TerminationSummary.json.js.map +1 -0
  654. package/dist/i18n/en/Payroll.Dismissal.json.js +22 -0
  655. package/dist/i18n/en/Payroll.Dismissal.json.js.map +1 -0
  656. package/dist/i18n/en/Payroll.GrossUpModal.json.js +16 -14
  657. package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
  658. package/dist/i18n/en/Payroll.OffCycleCreation.json.js +15 -11
  659. package/dist/i18n/en/Payroll.OffCycleCreation.json.js.map +1 -1
  660. package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +1 -1
  661. package/dist/i18n/en/Payroll.OffCycleTaxWithholding.json.js +5 -5
  662. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +31 -25
  663. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  664. package/dist/i18n/en/Payroll.PayrollList.json.js +20 -18
  665. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  666. package/dist/i18n/en/Payroll.Transition.json.js +8 -0
  667. package/dist/i18n/en/Payroll.Transition.json.js.map +1 -0
  668. package/dist/i18n/en/Payroll.TransitionCreation.json.js +26 -0
  669. package/dist/i18n/en/Payroll.TransitionCreation.json.js.map +1 -0
  670. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +18 -0
  671. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js.map +1 -0
  672. package/dist/i18n/en/UNSTABLE.CompensationForm.json.js +58 -0
  673. package/dist/i18n/en/UNSTABLE.CompensationForm.json.js.map +1 -0
  674. package/dist/i18n/en/UNSTABLE.EmployeeDetailsForm.json.js +34 -0
  675. package/dist/i18n/en/UNSTABLE.EmployeeDetailsForm.json.js.map +1 -0
  676. package/dist/i18n/en/UNSTABLE.WorkAddressForm.json.js +24 -0
  677. package/dist/i18n/en/UNSTABLE.WorkAddressForm.json.js.map +1 -0
  678. package/dist/i18n/en/common.json.d.ts +2 -1
  679. package/dist/i18n/en/common.json.js +9 -9
  680. package/dist/index.d.ts +3 -2
  681. package/dist/index.js +14 -13
  682. package/dist/models/WA_RISK_CODES.d.ts +5 -2866
  683. package/dist/models/WA_RISK_CODES.js.map +1 -1
  684. package/dist/shared/constants.d.ts +32 -0
  685. package/dist/shared/constants.js +83 -65
  686. package/dist/shared/constants.js.map +1 -1
  687. package/dist/style.css +1 -1
  688. package/dist/types/i18next.d.ts +707 -1
  689. package/dist/types/observability.d.ts +31 -65
  690. package/dist/types/sdkError.d.ts +97 -0
  691. package/dist/types/sdkError.js +95 -0
  692. package/dist/types/sdkError.js.map +1 -0
  693. package/dist/types/sdkError.test.d.ts +1 -0
  694. package/docs/reference/endpoint-inventory.json +212 -14
  695. package/package.json +17 -17
  696. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfiguration.d.ts +0 -6
  697. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfiguration.js +0 -70
  698. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfiguration.js.map +0 -1
  699. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationContext.d.ts +0 -7
  700. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationContext.js +0 -6
  701. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationContext.js.map +0 -1
  702. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationProvider.d.ts +0 -9
  703. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationProvider.js +0 -40
  704. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationProvider.js.map +0 -1
  705. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/index.d.ts +0 -5
  706. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/usePayrollConfiguration.d.ts +0 -2
  707. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/usePayrollConfiguration.js +0 -12
  708. package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/usePayrollConfiguration.js.map +0 -1
  709. package/dist/components/Payroll/UNSTABLE_PayrollHooks/index.d.ts +0 -2
  710. package/dist/contexts/ObservabilityProvider/observabilityUtils.d.ts +0 -5
  711. package/dist/contexts/ObservabilityProvider/observabilityUtils.js +0 -45
  712. package/dist/contexts/ObservabilityProvider/observabilityUtils.js.map +0 -1
@@ -1,296 +1,332 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { useForm as K, useWatch as X, FormProvider as Q } from "react-hook-form";
3
- import { useRef as Z, useMemo as J } from "react";
4
- import { PayrollEmployeeCompensationsTypePaymentMethod as S } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
5
- import { useTranslation as ee } from "react-i18next";
6
- import { z as m } from "zod";
7
- import { zodResolver as te } from "@hookform/resolvers/zod";
1
+ import { jsxs as m, jsx as s } from "react/jsx-runtime";
2
+ import { useForm as Q, useWatch as Z, FormProvider as J } from "react-hook-form";
3
+ import { useRef as ee, useMemo as ne } from "react";
4
+ import { PayrollEmployeeCompensationsTypePaymentMethod as R } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
5
+ import { useTranslation as te } from "react-i18next";
6
+ import { z as a } from "zod";
7
+ import { zodResolver as se } from "@hookform/resolvers/zod";
8
8
  import u from "./PayrollEditEmployeePresentation.module.scss.js";
9
- import { TimeOffField as ne } from "./TimeOffField.js";
10
- import { Flex as x } from "../../Common/Flex/Flex.js";
11
- import { Grid as P } from "../../Common/Grid/Grid.js";
12
- import { RadioGroupField as re } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
13
- import { TextInputField as oe } from "../../Common/Fields/TextInputField/TextInputField.js";
14
- import { NumberInputField as G } from "../../Common/Fields/NumberInputField/NumberInputField.js";
15
- import { useComponentContext as ie } from "../../../contexts/ComponentAdapter/useComponentContext.js";
16
- import { useI18n as se } from "../../../i18n/I18n.js";
17
- import { Form as ae } from "../../Common/Form/Form.js";
9
+ import { TimeOffField as ie } from "./TimeOffField.js";
10
+ import { Flex as S } from "../../Common/Flex/Flex.js";
11
+ import { Grid as _ } from "../../Common/Grid/Grid.js";
12
+ import { useComponentContext as oe } from "../../../contexts/ComponentAdapter/useComponentContext.js";
13
+ import { useI18n as ae } from "../../../i18n/I18n.js";
14
+ import { Form as re } from "../../Common/Form/Form.js";
18
15
  import { firstLastName as me, formatNumberAsCurrency as le } from "../../../helpers/formattedStrings.js";
19
- import { getAdditionalEarningsCompensations as de, getReimbursementCompensation as ue, calculateGrossPay as k } from "../helpers.js";
20
- import { HOURS_COMPENSATION_NAMES as w, EXCLUDED_ADDITIONAL_EARNINGS as ce, COMPENSATION_NAME_DOUBLE_OVERTIME as pe, COMPENSATION_NAME_OVERTIME as fe, COMPENSATION_NAME_REGULAR_HOURS as he, COMPENSATION_NAME_REIMBURSEMENT as Ce, COMPENSATION_NAME_CASH_TIPS as Ne, COMPENSATION_NAME_COMMISSION as Ee, COMPENSATION_NAME_CORRECTION_PAYMENT as ge, COMPENSATION_NAME_PAYCHECK_TIPS as be, COMPENSATION_NAME_BONUS as Me } from "../../../shared/constants.js";
21
- import Oe from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
22
- const Te = m.object({
23
- hourlyCompensations: m.record(m.string(), m.record(m.string(), m.string().optional())),
24
- timeOffCompensations: m.record(m.string(), m.string().optional()),
25
- fixedCompensations: m.record(m.string(), m.number().optional()),
26
- paymentMethod: m.enum(S).optional()
27
- }), H = (E, y, l, i) => {
28
- const g = {
29
- ...y,
30
- paymentMethod: E.paymentMethod
16
+ import { getAdditionalEarningsCompensations as ue, getReimbursementCompensation as de, calculateGrossPay as w } from "../helpers.js";
17
+ import { PayrollCategory as A } from "../payrollTypes.js";
18
+ import { HOURS_COMPENSATION_NAMES as B, EXCLUDED_ADDITIONAL_EARNINGS as ce, COMPENSATION_NAME_DOUBLE_OVERTIME as pe, COMPENSATION_NAME_OVERTIME as fe, COMPENSATION_NAME_REGULAR_HOURS as he, COMPENSATION_NAME_REIMBURSEMENT as Ce, COMPENSATION_NAME_CASH_TIPS as Ne, COMPENSATION_NAME_COMMISSION as ge, COMPENSATION_NAME_CORRECTION_PAYMENT as be, COMPENSATION_NAME_PAYCHECK_TIPS as Ee, COMPENSATION_NAME_BONUS as Pe } from "../../../shared/constants.js";
19
+ import Me from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
20
+ import { TextInputField as I } from "../../Common/Fields/TextInputField/TextInputField.js";
21
+ import { RadioGroupField as Oe } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
22
+ const Te = a.object({
23
+ hourlyCompensations: a.record(a.string(), a.record(a.string(), a.string().optional())),
24
+ timeOffCompensations: a.record(a.string(), a.string().optional()),
25
+ finalPayoutCompensations: a.record(a.string(), a.string().optional()),
26
+ fixedCompensations: a.record(a.string(), a.string().optional()),
27
+ paymentMethod: a.enum(R).optional()
28
+ }), q = (h, T, d, r, U = A.Regular) => {
29
+ const N = {
30
+ ...T,
31
+ paymentMethod: h.paymentMethod
31
32
  };
32
- g.hourlyCompensations = y?.hourlyCompensations?.map(
33
- (o) => {
34
- const d = o.jobUuid && o.name ? E.hourlyCompensations[o.jobUuid]?.[o.name] : void 0;
35
- return d ? {
36
- ...o,
37
- hours: d
38
- } : o;
33
+ N.hourlyCompensations = T?.hourlyCompensations?.map(
34
+ (i) => {
35
+ const o = i.jobUuid && i.name ? h.hourlyCompensations[i.jobUuid]?.[i.name] : void 0;
36
+ return o ? {
37
+ ...i,
38
+ hours: o
39
+ } : i;
39
40
  }
40
- ), g.paidTimeOff = l.map((o) => ({
41
- ...o,
42
- hours: E.timeOffCompensations[o.name]
43
- }));
44
- const b = [];
45
- return Object.entries(E.fixedCompensations).forEach(([o, d]) => {
46
- const C = y?.fixedCompensations?.find(
47
- (M) => M.name?.toLowerCase() === o.toLowerCase()
48
- );
49
- if (d !== void 0) {
50
- const M = d.toString();
51
- C ? b.push({
52
- name: C.name,
53
- jobUuid: C.jobUuid,
54
- amount: M
55
- }) : d !== 0 && b.push({
56
- name: o,
57
- jobUuid: i,
58
- amount: M
59
- });
41
+ ), N.paidTimeOff = d.map((i) => {
42
+ const o = U === A.Dismissal, { finalPayoutUnusedHoursInput: P, ...y } = i;
43
+ if (o) {
44
+ const x = h.finalPayoutCompensations[i.name] ?? i.finalPayoutUnusedHoursInput;
45
+ return {
46
+ ...i,
47
+ hours: h.timeOffCompensations[i.name],
48
+ ...x != null ? { finalPayoutUnusedHoursInput: x } : {}
49
+ };
60
50
  }
61
- }), g.fixedCompensations = b, g;
51
+ return {
52
+ ...y,
53
+ hours: h.timeOffCompensations[i.name]
54
+ };
55
+ });
56
+ const g = [];
57
+ return Object.entries(h.fixedCompensations).forEach(([i, o]) => {
58
+ const P = T?.fixedCompensations?.find(
59
+ (y) => y.name?.toLowerCase() === i.toLowerCase()
60
+ );
61
+ o !== void 0 && o !== "" && (P ? g.push({
62
+ name: P.name,
63
+ jobUuid: P.jobUuid,
64
+ amount: o
65
+ }) : parseFloat(o) !== 0 && g.push({
66
+ name: i,
67
+ jobUuid: r,
68
+ amount: o
69
+ }));
70
+ }), N.fixedCompensations = g, N;
62
71
  }, ze = ({
63
- onSave: E,
64
- onCancel: y,
65
- employee: l,
66
- employeeCompensation: i,
67
- isPending: g = !1,
68
- fixedCompensationTypes: b,
69
- payPeriodStartDate: o,
70
- paySchedule: d,
71
- isOffCycle: C = !1,
72
- withReimbursements: M = !0,
73
- hasDirectDepositSetup: $ = !0
72
+ onSave: h,
73
+ onCancel: T,
74
+ employee: d,
75
+ employeeCompensation: r,
76
+ isPending: U = !1,
77
+ fixedCompensationTypes: N,
78
+ payPeriodStartDate: g,
79
+ paySchedule: i,
80
+ payrollCategory: o = A.Regular,
81
+ withReimbursements: P = !0,
82
+ hasDirectDepositSetup: y = !0
74
83
  }) => {
75
- const { Button: v, Heading: c, Text: B } = ie(), { t } = ee("Payroll.PayrollEditEmployee");
76
- se("Payroll.PayrollEditEmployee");
77
- const f = l.jobs?.find((e) => e.primary), O = f ? [f] : [], F = Z(null), p = Oe({
84
+ const { Button: x, Heading: c, Text: D } = oe(), { t: n } = te("Payroll.PayrollEditEmployee");
85
+ ae("Payroll.PayrollEditEmployee");
86
+ const p = d.jobs?.find((e) => e.primary), V = r?.hourlyCompensations?.some(
87
+ (e) => e.jobUuid === p?.uuid
88
+ ), M = p && V ? [p] : [], F = ee(null), f = Me({
78
89
  ref: F
79
90
  }).includes("small");
80
- i?.hourlyCompensations?.forEach((e) => {
81
- const n = l.jobs?.find((s) => s.uuid === e.jobUuid);
82
- n && !O.find((s) => s.uuid === n.uuid) && O.push(n);
91
+ r?.hourlyCompensations?.forEach((e) => {
92
+ const t = d.jobs?.find((l) => l.uuid === e.jobUuid);
93
+ t && !M.find((l) => l.uuid === t.uuid) && M.push(t);
83
94
  });
84
- const A = (i?.paidTimeOff || []).filter((e) => e.name), _ = de({
85
- flsaStatus: f?.compensations?.[0]?.flsaStatus,
86
- existingFixedCompensations: i?.fixedCompensations || [],
87
- primaryJobUuid: f?.uuid,
88
- fixedCompensationTypes: b,
95
+ const b = (r?.paidTimeOff || []).filter((e) => e.name), v = ue({
96
+ flsaStatus: p?.compensations?.[0]?.flsaStatus,
97
+ existingFixedCompensations: r?.fixedCompensations || [],
98
+ primaryJobUuid: p?.uuid,
99
+ fixedCompensationTypes: N,
89
100
  excludedTypes: ce
90
- }), N = M ? ue(
91
- i?.fixedCompensations || [],
92
- b,
93
- f?.uuid
94
- ) : null, R = (e, n) => i?.hourlyCompensations?.find(
95
- (s) => s.jobUuid === e && s.name?.toLowerCase() === n.toLowerCase()
96
- ), q = (e) => {
101
+ }), O = P ? de(
102
+ r?.fixedCompensations || [],
103
+ N,
104
+ p?.uuid
105
+ ) : null, L = (e, t) => r?.hourlyCompensations?.find(
106
+ (l) => l.jobUuid === e && l.name?.toLowerCase() === t.toLowerCase()
107
+ ), W = (e) => {
97
108
  switch (e) {
98
109
  case he:
99
- return t("compensationNames.regularHours");
110
+ return n("compensationNames.regularHours");
100
111
  case fe:
101
- return t("compensationNames.overtime");
112
+ return n("compensationNames.overtime");
102
113
  case pe:
103
- return t("compensationNames.doubleOvertime");
114
+ return n("compensationNames.doubleOvertime");
104
115
  default:
105
116
  return e;
106
117
  }
107
- }, j = (e) => {
118
+ }, H = (e) => {
108
119
  switch (e) {
109
- case Me:
110
- return t("fixedCompensationNames.bonus");
120
+ case Pe:
121
+ return n("fixedCompensationNames.bonus");
122
+ case Ee:
123
+ return n("fixedCompensationNames.paycheckTips");
111
124
  case be:
112
- return t("fixedCompensationNames.paycheckTips");
125
+ return n("fixedCompensationNames.correctionPayment");
113
126
  case ge:
114
- return t("fixedCompensationNames.correctionPayment");
115
- case Ee:
116
- return t("fixedCompensationNames.commission");
127
+ return n("fixedCompensationNames.commission");
117
128
  case Ne:
118
- return t("fixedCompensationNames.cashTips");
129
+ return n("fixedCompensationNames.cashTips");
119
130
  case Ce:
120
- return t("fixedCompensationNames.reimbursement");
131
+ return n("fixedCompensationNames.reimbursement");
121
132
  default:
122
133
  return e;
123
134
  }
124
- }, V = {
135
+ }, z = {
125
136
  hourlyCompensations: (() => {
126
137
  const e = {};
127
- return O.forEach((n) => {
128
- w.forEach((s) => {
129
- const h = R(n.uuid, s);
130
- h && (e[n.uuid] || (e[n.uuid] = {}), e[n.uuid][h.name] = h.hours ? parseFloat(h.hours).toString() : "");
138
+ return M.forEach((t) => {
139
+ B.forEach((l) => {
140
+ const C = L(t.uuid, l);
141
+ C && (e[t.uuid] || (e[t.uuid] = {}), e[t.uuid][C.name] = C.hours ? parseFloat(C.hours).toString() : "");
131
142
  });
132
143
  }), e;
133
144
  })(),
134
145
  timeOffCompensations: (() => {
135
146
  const e = {};
136
- return A.forEach((n) => {
137
- e[n.name] = n.hours ? parseFloat(n.hours).toString() : "";
147
+ return b.forEach((t) => {
148
+ e[t.name] = t.hours ? parseFloat(t.hours).toString() : "";
149
+ }), e;
150
+ })(),
151
+ finalPayoutCompensations: (() => {
152
+ const e = {};
153
+ return b.forEach((t) => {
154
+ e[t.name] = t.finalPayoutUnusedHoursInput ?? "0";
138
155
  }), e;
139
156
  })(),
140
157
  fixedCompensations: (() => {
141
158
  const e = {};
142
- return _.forEach((n) => {
143
- e[n.name] = n.amount ? parseFloat(n.amount) : void 0;
144
- }), N && (e[N.name] = N.amount ? parseFloat(N.amount) : void 0), e;
159
+ return v.forEach((t) => {
160
+ e[t.name] = t.amount ?? "";
161
+ }), O && (e[O.name] = O.amount ?? ""), e;
145
162
  })(),
146
- paymentMethod: i?.paymentMethod || S.DirectDeposit
147
- }, I = K({
148
- resolver: te(Te),
149
- defaultValues: V
150
- }), T = X({
151
- control: I.control
152
- }), z = J(() => {
163
+ paymentMethod: r?.paymentMethod || R.DirectDeposit
164
+ }, j = Q({
165
+ resolver: se(Te),
166
+ defaultValues: z
167
+ }), E = Z({
168
+ control: j.control
169
+ }), Y = ne(() => {
153
170
  try {
154
171
  const e = {};
155
- T.hourlyCompensations && Object.entries(T.hourlyCompensations).forEach(([h, D]) => {
156
- D && (e[h] = D);
172
+ E.hourlyCompensations && Object.entries(E.hourlyCompensations).forEach(([C, k]) => {
173
+ k && (e[C] = k);
157
174
  });
158
- const n = {
175
+ const t = {
159
176
  hourlyCompensations: e,
160
- timeOffCompensations: T.timeOffCompensations || {},
161
- fixedCompensations: T.fixedCompensations || {},
162
- paymentMethod: T.paymentMethod
163
- }, s = H(
164
- n,
165
- i,
166
- (i?.paidTimeOff || []).filter((h) => h.name),
167
- f?.uuid
177
+ timeOffCompensations: E.timeOffCompensations || {},
178
+ finalPayoutCompensations: E.finalPayoutCompensations || {},
179
+ fixedCompensations: E.fixedCompensations || {},
180
+ paymentMethod: E.paymentMethod
181
+ }, l = q(
182
+ t,
183
+ r,
184
+ (r?.paidTimeOff || []).filter((C) => C.name),
185
+ p?.uuid,
186
+ o
168
187
  );
169
- return k(
170
- s,
188
+ return w(
171
189
  l,
172
- o,
173
190
  d,
174
- C
191
+ g,
192
+ i,
193
+ o
175
194
  );
176
195
  } catch {
177
- return i ? k(
178
- i,
179
- l,
180
- o,
196
+ return r ? w(
197
+ r,
181
198
  d,
182
- C
199
+ g,
200
+ i,
201
+ o
183
202
  ) : 0;
184
203
  }
185
204
  }, [
186
- T,
187
- i,
188
- f?.uuid,
189
- l,
190
- o,
205
+ E,
206
+ r,
207
+ p?.uuid,
191
208
  d,
192
- C
193
- ]), W = me({
194
- first_name: l.firstName,
195
- last_name: l.lastName
196
- }), Y = (e) => {
197
- const n = H(
209
+ g,
210
+ i,
211
+ o
212
+ ]), K = me({
213
+ first_name: d.firstName,
214
+ last_name: d.lastName
215
+ }), X = (e) => {
216
+ const t = q(
198
217
  e,
199
- i,
200
- A,
201
- f?.uuid
218
+ r,
219
+ b,
220
+ p?.uuid,
221
+ o
202
222
  );
203
- E(n);
204
- }, L = le(z || 0), U = /* @__PURE__ */ a(
205
- x,
223
+ h(t);
224
+ }, G = le(Y || 0), $ = /* @__PURE__ */ m(
225
+ S,
206
226
  {
207
- flexDirection: p ? "row" : "column",
208
- justifyContent: p ? "flex-end" : "normal",
209
- alignItems: p ? "flex-start" : "stretch",
227
+ flexDirection: f ? "row" : "column",
228
+ justifyContent: f ? "flex-end" : "normal",
229
+ alignItems: f ? "flex-start" : "stretch",
210
230
  gap: 12,
211
231
  children: [
212
- /* @__PURE__ */ r(v, { variant: "secondary", onClick: y, title: t("cancelCta"), children: t("cancelCta") }),
213
- /* @__PURE__ */ r(
214
- v,
232
+ /* @__PURE__ */ s(x, { variant: "secondary", onClick: T, title: n("cancelCta"), children: n("cancelCta") }),
233
+ /* @__PURE__ */ s(
234
+ x,
215
235
  {
216
- onClick: I.handleSubmit(Y),
217
- title: t("saveCta"),
218
- isLoading: g,
219
- children: t("saveCta")
236
+ onClick: j.handleSubmit(X),
237
+ title: n("saveCta"),
238
+ isLoading: U,
239
+ children: n("saveCta")
220
240
  }
221
241
  )
222
242
  ]
223
243
  }
224
244
  );
225
- return /* @__PURE__ */ a("div", { ref: F, className: u.container, children: [
226
- /* @__PURE__ */ r(
245
+ return /* @__PURE__ */ m("div", { ref: F, className: u.container, children: [
246
+ /* @__PURE__ */ s(
227
247
  "div",
228
248
  {
229
- className: `${u.headerSection} ${p ? "" : u.headerSectionSticky}`,
230
- children: /* @__PURE__ */ a(x, { justifyContent: "space-between", children: [
231
- /* @__PURE__ */ a(x, { flexDirection: "column", gap: p ? 8 : 2, children: [
232
- /* @__PURE__ */ r(c, { as: "h1", styledAs: p ? "h2" : "h4", children: t("pageTitle", { employeeName: W }) }),
233
- p ? /* @__PURE__ */ a(x, { flexDirection: "column", gap: 6, children: [
234
- /* @__PURE__ */ r(c, { as: "h2", styledAs: "h3", children: L }),
235
- /* @__PURE__ */ r(B, { className: u.grossPayLabel, children: t("grossPayLabel") })
236
- ] }) : /* @__PURE__ */ r(c, { as: "h2", styledAs: "h6", className: u.grossPayLabel, children: t("grossPayLabelMobile", { grossPay: L }) })
249
+ className: `${u.headerSection} ${f ? "" : u.headerSectionSticky}`,
250
+ children: /* @__PURE__ */ m(S, { justifyContent: "space-between", children: [
251
+ /* @__PURE__ */ m(S, { flexDirection: "column", gap: f ? 8 : 2, children: [
252
+ /* @__PURE__ */ s(c, { as: "h1", styledAs: f ? "h2" : "h4", children: n("pageTitle", { employeeName: K }) }),
253
+ f ? /* @__PURE__ */ m(S, { flexDirection: "column", gap: 6, children: [
254
+ /* @__PURE__ */ s(c, { as: "h2", styledAs: "h3", children: G }),
255
+ /* @__PURE__ */ s(D, { className: u.grossPayLabel, children: n("grossPayLabel") })
256
+ ] }) : /* @__PURE__ */ s(c, { as: "h2", styledAs: "h6", className: u.grossPayLabel, children: n("grossPayLabelMobile", { grossPay: G }) })
237
257
  ] }),
238
- p && U
258
+ f && $
239
259
  ] })
240
260
  }
241
261
  ),
242
- /* @__PURE__ */ a(Q, { ...I, children: [
243
- /* @__PURE__ */ a(ae, { children: [
244
- O.length > 0 && /* @__PURE__ */ a("div", { className: u.fieldGroup, children: [
245
- /* @__PURE__ */ r(c, { as: "h3", children: t("regularHoursTitle") }),
246
- O.map((e) => /* @__PURE__ */ a(x, { flexDirection: "column", gap: 8, children: [
247
- O.length > 1 && /* @__PURE__ */ r(c, { as: "h4", children: e.title }),
248
- /* @__PURE__ */ r(P, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: w.map((n) => {
249
- const s = R(
262
+ /* @__PURE__ */ m(J, { ...j, children: [
263
+ /* @__PURE__ */ m(re, { children: [
264
+ M.length > 0 && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
265
+ /* @__PURE__ */ s(c, { as: "h3", children: n("regularHoursTitle") }),
266
+ M.map((e) => /* @__PURE__ */ m(S, { flexDirection: "column", gap: 8, children: [
267
+ M.length > 1 && /* @__PURE__ */ s(c, { as: "h4", children: e.title }),
268
+ /* @__PURE__ */ s(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: B.map((t) => {
269
+ const l = L(
250
270
  e.uuid,
251
- n
271
+ t
252
272
  );
253
- if (s)
254
- return /* @__PURE__ */ r(
255
- oe,
273
+ if (l)
274
+ return /* @__PURE__ */ s(
275
+ I,
256
276
  {
257
277
  type: "number",
258
278
  min: 0,
259
- adornmentEnd: t("hoursUnit"),
279
+ adornmentEnd: n("hoursUnit"),
260
280
  isRequired: !0,
261
- label: q(n),
262
- name: `hourlyCompensations.${e.uuid}.${s.name}`
281
+ label: W(t),
282
+ name: `hourlyCompensations.${e.uuid}.${l.name}`
263
283
  },
264
- n
284
+ t
265
285
  );
266
286
  }) })
267
287
  ] }, e.uuid))
268
288
  ] }),
269
- A.length > 0 && /* @__PURE__ */ a("div", { className: u.fieldGroup, children: [
270
- /* @__PURE__ */ r(c, { as: "h4", children: t("timeOffTitle") }),
271
- /* @__PURE__ */ r(P, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: A.map((e) => /* @__PURE__ */ r(
272
- ne,
289
+ b.length > 0 && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
290
+ /* @__PURE__ */ s(c, { as: "h4", children: o === A.Dismissal ? n("timeOffTitleDismissal") : n("timeOffTitle") }),
291
+ /* @__PURE__ */ s(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: b.map((e) => /* @__PURE__ */ s(
292
+ ie,
273
293
  {
274
294
  timeOff: e,
275
- employee: l
295
+ employee: d
276
296
  },
277
297
  e.name
278
298
  )) })
279
299
  ] }),
280
- _.length > 0 && /* @__PURE__ */ a("div", { className: u.fieldGroup, children: [
281
- /* @__PURE__ */ r(c, { as: "h4", children: t("additionalEarningsTitle") }),
282
- /* @__PURE__ */ r(
283
- P,
300
+ o === A.Dismissal && b.length > 0 && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
301
+ /* @__PURE__ */ s(c, { as: "h4", children: n("finalPayoutTitle") }),
302
+ /* @__PURE__ */ s(D, { variant: "supporting", children: n("finalPayoutDescription") }),
303
+ /* @__PURE__ */ s(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: b.map((e) => /* @__PURE__ */ s(
304
+ I,
305
+ {
306
+ name: `finalPayoutCompensations.${e.name}`,
307
+ type: "number",
308
+ min: 0,
309
+ adornmentEnd: n("hoursUnit"),
310
+ label: e.name
311
+ },
312
+ `payout-${e.name}`
313
+ )) })
314
+ ] }),
315
+ v.length > 0 && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
316
+ /* @__PURE__ */ s(c, { as: "h4", children: n("additionalEarningsTitle") }),
317
+ /* @__PURE__ */ s(
318
+ _,
284
319
  {
285
320
  gridTemplateColumns: { base: "1fr", small: [320, 320], large: [320, 320, 320] },
286
321
  gap: 20,
287
- children: _.map((e) => /* @__PURE__ */ r(
288
- G,
322
+ children: v.map((e) => /* @__PURE__ */ s(
323
+ I,
289
324
  {
290
- format: "currency",
325
+ type: "number",
291
326
  min: 0,
327
+ adornmentStart: "$",
292
328
  isRequired: !0,
293
- label: j(e.name),
329
+ label: H(e.name),
294
330
  name: `fixedCompensations.${e.name}`
295
331
  },
296
332
  e.name
@@ -298,43 +334,44 @@ const Te = m.object({
298
334
  }
299
335
  )
300
336
  ] }),
301
- N && /* @__PURE__ */ a("div", { className: u.fieldGroup, children: [
302
- /* @__PURE__ */ r(c, { as: "h4", children: t("reimbursementTitle") }),
303
- /* @__PURE__ */ r(P, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ r(
304
- G,
337
+ O && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
338
+ /* @__PURE__ */ s(c, { as: "h4", children: n("reimbursementTitle") }),
339
+ /* @__PURE__ */ s(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ s(
340
+ I,
305
341
  {
306
- format: "currency",
342
+ type: "number",
307
343
  min: 0,
344
+ adornmentStart: "$",
308
345
  isRequired: !0,
309
- label: j(N.name),
310
- name: `fixedCompensations.${N.name}`
346
+ label: H(O.name),
347
+ name: `fixedCompensations.${O.name}`
311
348
  }
312
349
  ) })
313
350
  ] }),
314
- $ && /* @__PURE__ */ a("div", { className: u.fieldGroup, children: [
315
- /* @__PURE__ */ r(c, { as: "h4", children: t("paymentMethodTitle") }),
316
- /* @__PURE__ */ r(
317
- re,
351
+ y && /* @__PURE__ */ m("div", { className: u.fieldGroup, children: [
352
+ /* @__PURE__ */ s(c, { as: "h4", children: n("paymentMethodTitle") }),
353
+ /* @__PURE__ */ s(
354
+ Oe,
318
355
  {
319
356
  name: "paymentMethod",
320
357
  isRequired: !0,
321
- label: t("paymentMethodLabel"),
322
- description: t("paymentMethodDescription"),
358
+ label: n("paymentMethodLabel"),
359
+ description: n("paymentMethodDescription"),
323
360
  options: [
324
361
  {
325
- value: S.DirectDeposit,
326
- label: t("paymentMethodOptions.directDeposit")
362
+ value: R.DirectDeposit,
363
+ label: n("paymentMethodOptions.directDeposit")
327
364
  },
328
365
  {
329
- value: S.Check,
330
- label: t("paymentMethodOptions.check")
366
+ value: R.Check,
367
+ label: n("paymentMethodOptions.check")
331
368
  }
332
369
  ]
333
370
  }
334
371
  )
335
372
  ] })
336
373
  ] }),
337
- !p && U
374
+ !f && $
338
375
  ] })
339
376
  ] });
340
377
  };