@gusto/embedded-react-sdk 0.55.4 → 0.55.6

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 (354) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/components/Common/DataView/DataTable/DataTable.js +44 -41
  3. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  4. package/dist/components/Common/RequirementsList/RequirementsList.js +21 -12
  5. package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -1
  6. package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
  7. package/dist/components/Company/PaySchedule/PaySchedule.js +21 -15
  8. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  9. package/dist/components/Company/StateTaxes/TaxRateManagement/TaxRateHistorySection.js +1 -0
  10. package/dist/components/Company/StateTaxes/TaxRateManagement/TaxRateHistorySection.js.map +1 -1
  11. package/dist/components/Contractor/Compensation/management/CompensationEditForm.js +20 -17
  12. package/dist/components/Contractor/Compensation/management/CompensationEditForm.js.map +1 -1
  13. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.d.ts +1 -0
  14. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js +21 -17
  15. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js.map +1 -1
  16. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/fields.d.ts +7 -1
  17. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/fields.js.map +1 -1
  18. package/dist/components/Contractor/Compensation/shared/useContractorPayForm/index.d.ts +1 -1
  19. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +112 -100
  20. package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
  21. package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js +46 -40
  22. package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js.map +1 -1
  23. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +10 -9
  24. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  25. package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js +22 -19
  26. package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js.map +1 -1
  27. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.d.ts +1 -0
  28. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js +34 -30
  29. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js.map +1 -1
  30. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.d.ts +7 -1
  31. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.js.map +1 -1
  32. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/index.d.ts +1 -1
  33. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js +32 -32
  34. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js.map +1 -1
  35. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +1 -0
  36. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
  37. package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js +11 -10
  38. package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js.map +1 -1
  39. package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js +7 -6
  40. package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js.map +1 -1
  41. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js +20 -19
  42. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js.map +1 -1
  43. package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js +12 -10
  44. package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js.map +1 -1
  45. package/dist/components/InformationRequests/InformationRequests.js +63 -64
  46. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  47. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +13 -12
  48. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  49. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.module.scss.js +1 -1
  50. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +200 -195
  51. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  52. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +93 -85
  53. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  54. package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.d.ts +50 -0
  55. package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js +52 -0
  56. package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js.map +1 -0
  57. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +52 -50
  58. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  59. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +259 -255
  60. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  61. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.d.ts +278 -0
  62. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/index.d.ts +1 -0
  63. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.d.ts +108 -0
  64. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.test.d.ts +1 -0
  65. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.d.ts +95 -0
  66. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.test.d.ts +1 -0
  67. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.d.ts +126 -0
  68. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +1 -0
  69. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  70. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +191 -183
  71. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  72. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +117 -107
  73. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  74. package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.d.ts +39 -0
  75. package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js +46 -0
  76. package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js.map +1 -0
  77. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +40 -34
  78. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  79. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +72 -87
  80. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -1
  81. package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.d.ts +17 -0
  82. package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js +55 -0
  83. package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js.map +1 -0
  84. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -0
  85. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  86. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts +13 -0
  87. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +58 -0
  88. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -0
  89. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js +8 -0
  90. package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js.map +1 -0
  91. package/dist/components/Payroll/helpers.d.ts +15 -0
  92. package/dist/components/Payroll/helpers.js.map +1 -1
  93. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +35 -35
  94. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
  95. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.module.scss.js +4 -4
  96. package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +2 -0
  97. package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
  98. package/dist/hooks/usePollingTask/usePollingTask.d.ts +101 -0
  99. package/dist/hooks/usePollingTask/usePollingTask.js +50 -0
  100. package/dist/hooks/usePollingTask/usePollingTask.js.map +1 -0
  101. package/dist/hooks/usePollingTask/usePollingTask.test.d.ts +1 -0
  102. package/dist/i18n/I18n.js +147 -30
  103. package/dist/i18n/I18n.js.map +1 -1
  104. package/dist/i18n/en/Contractor.ContractorList.json.js +14 -12
  105. package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
  106. package/dist/i18n/en/Contractor.Management.Compensation.json.js +6 -6
  107. package/dist/i18n/en/Contractor.ManagementContractorList.json.js +8 -8
  108. package/dist/i18n/en/Contractor.Profile.json.js +5 -5
  109. package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +7 -5
  110. package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js.map +1 -1
  111. package/dist/i18n/en/Payroll.PayrollHistory.json.js +8 -8
  112. package/dist/i18n/en/Payroll.PayrollOverview.json.js +16 -16
  113. package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +98 -0
  114. package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +1 -0
  115. package/dist/i18n/en/common.json.d.ts +1 -0
  116. package/dist/i18n/en/common.json.js +1 -1
  117. package/dist/i18n/es_US/Company.Addresses.json.js +8 -0
  118. package/dist/i18n/es_US/Company.Addresses.json.js.map +1 -0
  119. package/dist/i18n/es_US/Company.AssignSignatory.json.js +22 -0
  120. package/dist/i18n/es_US/Company.AssignSignatory.json.js.map +1 -0
  121. package/dist/i18n/es_US/Company.BankAccount.json.js +20 -0
  122. package/dist/i18n/es_US/Company.BankAccount.json.js.map +1 -0
  123. package/dist/i18n/es_US/Company.DocumentList.json.js +28 -0
  124. package/dist/i18n/es_US/Company.DocumentList.json.js.map +1 -0
  125. package/dist/i18n/es_US/Company.FederalTaxes.json.js +28 -0
  126. package/dist/i18n/es_US/Company.FederalTaxes.json.js.map +1 -0
  127. package/dist/i18n/es_US/Company.Industry.json.js +12 -0
  128. package/dist/i18n/es_US/Company.Industry.json.js.map +1 -0
  129. package/dist/i18n/es_US/Company.Locations.json.js +44 -0
  130. package/dist/i18n/es_US/Company.Locations.json.js.map +1 -0
  131. package/dist/i18n/es_US/Company.OnboardingOverview.json.js +24 -0
  132. package/dist/i18n/es_US/Company.OnboardingOverview.json.js.map +1 -0
  133. package/dist/i18n/es_US/Company.PaySchedule.json.js +36 -0
  134. package/dist/i18n/es_US/Company.PaySchedule.json.js.map +1 -0
  135. package/dist/i18n/es_US/Company.SignatureForm.json.js +20 -0
  136. package/dist/i18n/es_US/Company.SignatureForm.json.js.map +1 -0
  137. package/dist/i18n/es_US/Company.StateTaxes.json.js +12 -0
  138. package/dist/i18n/es_US/Company.StateTaxes.json.js.map +1 -0
  139. package/dist/i18n/es_US/Company.TimeOff.CreateTimeOffPolicy.json.js +18 -0
  140. package/dist/i18n/es_US/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
  141. package/dist/i18n/es_US/Company.TimeOff.EmployeeTable.json.js +26 -0
  142. package/dist/i18n/es_US/Company.TimeOff.EmployeeTable.json.js.map +1 -0
  143. package/dist/i18n/es_US/Company.TimeOff.HolidayPolicy.json.js +26 -0
  144. package/dist/i18n/es_US/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
  145. package/dist/i18n/es_US/Company.TimeOff.PolicyDetail.json.js +14 -0
  146. package/dist/i18n/es_US/Company.TimeOff.PolicyDetail.json.js.map +1 -0
  147. package/dist/i18n/es_US/Company.TimeOff.SelectEmployees.json.js +22 -0
  148. package/dist/i18n/es_US/Company.TimeOff.SelectEmployees.json.js.map +1 -0
  149. package/dist/i18n/es_US/Company.TimeOff.SelectPolicyType.json.js +26 -0
  150. package/dist/i18n/es_US/Company.TimeOff.SelectPolicyType.json.js.map +1 -0
  151. package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicies.json.js +40 -0
  152. package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
  153. package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
  154. package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
  155. package/dist/i18n/es_US/Company.TimeOff.TimeOffRequests.json.js +21 -0
  156. package/dist/i18n/es_US/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
  157. package/dist/i18n/es_US/Contractor.Address.json.js +22 -0
  158. package/dist/i18n/es_US/Contractor.Address.json.js.map +1 -0
  159. package/dist/i18n/es_US/Contractor.BankAccountFields.json.js +12 -0
  160. package/dist/i18n/es_US/Contractor.BankAccountFields.json.js.map +1 -0
  161. package/dist/i18n/es_US/Contractor.ContractorList.json.js +24 -0
  162. package/dist/i18n/es_US/Contractor.ContractorList.json.js.map +1 -0
  163. package/dist/i18n/es_US/Contractor.Dashboard.json.js +14 -0
  164. package/dist/i18n/es_US/Contractor.Dashboard.json.js.map +1 -0
  165. package/dist/i18n/es_US/Contractor.DocumentsList.json.js +18 -0
  166. package/dist/i18n/es_US/Contractor.DocumentsList.json.js.map +1 -0
  167. package/dist/i18n/es_US/Contractor.Landing.json.js +18 -0
  168. package/dist/i18n/es_US/Contractor.Landing.json.js.map +1 -0
  169. package/dist/i18n/es_US/Contractor.Management.Address.json.js +14 -0
  170. package/dist/i18n/es_US/Contractor.Management.Address.json.js.map +1 -0
  171. package/dist/i18n/es_US/Contractor.Management.Compensation.json.js +22 -0
  172. package/dist/i18n/es_US/Contractor.Management.Compensation.json.js.map +1 -0
  173. package/dist/i18n/es_US/Contractor.Management.Documents.json.js +16 -0
  174. package/dist/i18n/es_US/Contractor.Management.Documents.json.js.map +1 -0
  175. package/dist/i18n/es_US/Contractor.Management.PaymentMethod.json.js +24 -0
  176. package/dist/i18n/es_US/Contractor.Management.PaymentMethod.json.js.map +1 -0
  177. package/dist/i18n/es_US/Contractor.Management.Profile.json.js +20 -0
  178. package/dist/i18n/es_US/Contractor.Management.Profile.json.js.map +1 -0
  179. package/dist/i18n/es_US/Contractor.ManagementContractorList.json.js +48 -0
  180. package/dist/i18n/es_US/Contractor.ManagementContractorList.json.js.map +1 -0
  181. package/dist/i18n/es_US/Contractor.NewHireReport.json.js +22 -0
  182. package/dist/i18n/es_US/Contractor.NewHireReport.json.js.map +1 -0
  183. package/dist/i18n/es_US/Contractor.OnboardingSummary.json.js +10 -0
  184. package/dist/i18n/es_US/Contractor.OnboardingSummary.json.js.map +1 -0
  185. package/dist/i18n/es_US/Contractor.PaymentMethod.json.js +20 -0
  186. package/dist/i18n/es_US/Contractor.PaymentMethod.json.js.map +1 -0
  187. package/dist/i18n/es_US/Contractor.Payments.CreateHistoricalPayment.json.js +34 -0
  188. package/dist/i18n/es_US/Contractor.Payments.CreateHistoricalPayment.json.js.map +1 -0
  189. package/dist/i18n/es_US/Contractor.Payments.CreatePayment.json.js +42 -0
  190. package/dist/i18n/es_US/Contractor.Payments.CreatePayment.json.js.map +1 -0
  191. package/dist/i18n/es_US/Contractor.Payments.HistoricalPaymentSummary.json.js +42 -0
  192. package/dist/i18n/es_US/Contractor.Payments.HistoricalPaymentSummary.json.js.map +1 -0
  193. package/dist/i18n/es_US/Contractor.Payments.PaymentHistory.json.js +26 -0
  194. package/dist/i18n/es_US/Contractor.Payments.PaymentHistory.json.js.map +1 -0
  195. package/dist/i18n/es_US/Contractor.Payments.PaymentStatement.json.js +22 -0
  196. package/dist/i18n/es_US/Contractor.Payments.PaymentStatement.json.js.map +1 -0
  197. package/dist/i18n/es_US/Contractor.Payments.PaymentSummary.json.js +54 -0
  198. package/dist/i18n/es_US/Contractor.Payments.PaymentSummary.json.js.map +1 -0
  199. package/dist/i18n/es_US/Contractor.Payments.PaymentsList.json.js +32 -0
  200. package/dist/i18n/es_US/Contractor.Payments.PaymentsList.json.js.map +1 -0
  201. package/dist/i18n/es_US/Contractor.Profile.json.js +18 -0
  202. package/dist/i18n/es_US/Contractor.Profile.json.js.map +1 -0
  203. package/dist/i18n/es_US/Contractor.SelectContractors.json.js +18 -0
  204. package/dist/i18n/es_US/Contractor.SelectContractors.json.js.map +1 -0
  205. package/dist/i18n/es_US/Contractor.SignatureForm.json.js +34 -0
  206. package/dist/i18n/es_US/Contractor.SignatureForm.json.js.map +1 -0
  207. package/dist/i18n/es_US/Contractor.Submit.json.js +26 -0
  208. package/dist/i18n/es_US/Contractor.Submit.json.js.map +1 -0
  209. package/dist/i18n/es_US/Employee.BankAccount.json.js +14 -0
  210. package/dist/i18n/es_US/Employee.BankAccount.json.js.map +1 -0
  211. package/dist/i18n/es_US/Employee.BankFormBody.json.js +12 -0
  212. package/dist/i18n/es_US/Employee.BankFormBody.json.js.map +1 -0
  213. package/dist/i18n/es_US/Employee.Compensation.json.js +68 -0
  214. package/dist/i18n/es_US/Employee.Compensation.json.js.map +1 -0
  215. package/dist/i18n/es_US/Employee.Dashboard.json.js +12 -0
  216. package/dist/i18n/es_US/Employee.Dashboard.json.js.map +1 -0
  217. package/dist/i18n/es_US/Employee.Deductions.json.js +142 -0
  218. package/dist/i18n/es_US/Employee.Deductions.json.js.map +1 -0
  219. package/dist/i18n/es_US/Employee.DeductionsForm.json.js +24 -0
  220. package/dist/i18n/es_US/Employee.DeductionsForm.json.js.map +1 -0
  221. package/dist/i18n/es_US/Employee.DocumentManager.json.js +10 -0
  222. package/dist/i18n/es_US/Employee.DocumentManager.json.js.map +1 -0
  223. package/dist/i18n/es_US/Employee.DocumentSigner.json.js +28 -0
  224. package/dist/i18n/es_US/Employee.DocumentSigner.json.js.map +1 -0
  225. package/dist/i18n/es_US/Employee.EmployeeDocuments.json.js +10 -0
  226. package/dist/i18n/es_US/Employee.EmployeeDocuments.json.js.map +1 -0
  227. package/dist/i18n/es_US/Employee.EmployeeList.json.js +30 -0
  228. package/dist/i18n/es_US/Employee.EmployeeList.json.js.map +1 -0
  229. package/dist/i18n/es_US/Employee.EmploymentEligibility.json.js +22 -0
  230. package/dist/i18n/es_US/Employee.EmploymentEligibility.json.js.map +1 -0
  231. package/dist/i18n/es_US/Employee.FederalTaxes.json.js +46 -0
  232. package/dist/i18n/es_US/Employee.FederalTaxes.json.js.map +1 -0
  233. package/dist/i18n/es_US/Employee.FederalTaxesView.json.js +38 -0
  234. package/dist/i18n/es_US/Employee.FederalTaxesView.json.js.map +1 -0
  235. package/dist/i18n/es_US/Employee.HomeAddress.json.js +24 -0
  236. package/dist/i18n/es_US/Employee.HomeAddress.json.js.map +1 -0
  237. package/dist/i18n/es_US/Employee.I9SignatureForm.json.js +64 -0
  238. package/dist/i18n/es_US/Employee.I9SignatureForm.json.js.map +1 -0
  239. package/dist/i18n/es_US/Employee.Landing.json.js +16 -0
  240. package/dist/i18n/es_US/Employee.Landing.json.js.map +1 -0
  241. package/dist/i18n/es_US/Employee.Management.Compensation.json.js +66 -0
  242. package/dist/i18n/es_US/Employee.Management.Compensation.json.js.map +1 -0
  243. package/dist/i18n/es_US/Employee.Management.Deductions.json.js +26 -0
  244. package/dist/i18n/es_US/Employee.Management.Deductions.json.js.map +1 -0
  245. package/dist/i18n/es_US/Employee.Management.Documents.json.js +18 -0
  246. package/dist/i18n/es_US/Employee.Management.Documents.json.js.map +1 -0
  247. package/dist/i18n/es_US/Employee.Management.FederalTaxes.json.js +42 -0
  248. package/dist/i18n/es_US/Employee.Management.FederalTaxes.json.js.map +1 -0
  249. package/dist/i18n/es_US/Employee.Management.HomeAddress.json.js +56 -0
  250. package/dist/i18n/es_US/Employee.Management.HomeAddress.json.js.map +1 -0
  251. package/dist/i18n/es_US/Employee.Management.PaymentMethod.json.js +24 -0
  252. package/dist/i18n/es_US/Employee.Management.PaymentMethod.json.js.map +1 -0
  253. package/dist/i18n/es_US/Employee.Management.PaymentMethodBankForm.json.js +12 -0
  254. package/dist/i18n/es_US/Employee.Management.PaymentMethodBankForm.json.js.map +1 -0
  255. package/dist/i18n/es_US/Employee.Management.PaymentMethodSplitForm.json.js +22 -0
  256. package/dist/i18n/es_US/Employee.Management.PaymentMethodSplitForm.json.js.map +1 -0
  257. package/dist/i18n/es_US/Employee.Management.Paystubs.json.js +28 -0
  258. package/dist/i18n/es_US/Employee.Management.Paystubs.json.js.map +1 -0
  259. package/dist/i18n/es_US/Employee.Management.Profile.json.js +16 -0
  260. package/dist/i18n/es_US/Employee.Management.Profile.json.js.map +1 -0
  261. package/dist/i18n/es_US/Employee.Management.StateTaxes.json.js +16 -0
  262. package/dist/i18n/es_US/Employee.Management.StateTaxes.json.js.map +1 -0
  263. package/dist/i18n/es_US/Employee.Management.WorkAddress.json.js +52 -0
  264. package/dist/i18n/es_US/Employee.Management.WorkAddress.json.js.map +1 -0
  265. package/dist/i18n/es_US/Employee.ManagementEmployeeList.json.js +26 -0
  266. package/dist/i18n/es_US/Employee.ManagementEmployeeList.json.js.map +1 -0
  267. package/dist/i18n/es_US/Employee.OnboardingSummary.json.js +22 -0
  268. package/dist/i18n/es_US/Employee.OnboardingSummary.json.js.map +1 -0
  269. package/dist/i18n/es_US/Employee.PaySchedules.json.js +12 -0
  270. package/dist/i18n/es_US/Employee.PaySchedules.json.js.map +1 -0
  271. package/dist/i18n/es_US/Employee.PaymentMethod.json.js +68 -0
  272. package/dist/i18n/es_US/Employee.PaymentMethod.json.js.map +1 -0
  273. package/dist/i18n/es_US/Employee.Profile.json.js +32 -0
  274. package/dist/i18n/es_US/Employee.Profile.json.js.map +1 -0
  275. package/dist/i18n/es_US/Employee.SplitPaycheck.json.js +26 -0
  276. package/dist/i18n/es_US/Employee.SplitPaycheck.json.js.map +1 -0
  277. package/dist/i18n/es_US/Employee.SplitPaymentsFormBody.json.js +22 -0
  278. package/dist/i18n/es_US/Employee.SplitPaymentsFormBody.json.js.map +1 -0
  279. package/dist/i18n/es_US/Employee.StateTaxes.json.js +14 -0
  280. package/dist/i18n/es_US/Employee.StateTaxes.json.js.map +1 -0
  281. package/dist/i18n/es_US/Employee.StateTaxesView.json.js +12 -0
  282. package/dist/i18n/es_US/Employee.StateTaxesView.json.js.map +1 -0
  283. package/dist/i18n/es_US/Employee.Terminations.TerminateEmployee.json.js +18 -0
  284. package/dist/i18n/es_US/Employee.Terminations.TerminateEmployee.json.js.map +1 -0
  285. package/dist/i18n/es_US/Employee.Terminations.TerminationFlow.json.js +12 -0
  286. package/dist/i18n/es_US/Employee.Terminations.TerminationFlow.json.js.map +1 -0
  287. package/dist/i18n/es_US/Employee.Terminations.TerminationSummary.json.js +20 -0
  288. package/dist/i18n/es_US/Employee.Terminations.TerminationSummary.json.js.map +1 -0
  289. package/dist/i18n/es_US/InformationRequests.InformationRequestForm.json.js +20 -0
  290. package/dist/i18n/es_US/InformationRequests.InformationRequestForm.json.js.map +1 -0
  291. package/dist/i18n/es_US/InformationRequests.InformationRequestList.json.js +18 -0
  292. package/dist/i18n/es_US/InformationRequests.InformationRequestList.json.js.map +1 -0
  293. package/dist/i18n/es_US/InformationRequests.json.js +8 -0
  294. package/dist/i18n/es_US/InformationRequests.json.js.map +1 -0
  295. package/dist/i18n/es_US/Payroll.Common.json.js +8 -0
  296. package/dist/i18n/es_US/Payroll.Common.json.js.map +1 -0
  297. package/dist/i18n/es_US/Payroll.ConfirmWireDetailsBanner.json.js +14 -0
  298. package/dist/i18n/es_US/Payroll.ConfirmWireDetailsBanner.json.js.map +1 -0
  299. package/dist/i18n/es_US/Payroll.ConfirmWireDetailsForm.json.js +26 -0
  300. package/dist/i18n/es_US/Payroll.ConfirmWireDetailsForm.json.js.map +1 -0
  301. package/dist/i18n/es_US/Payroll.Dismissal.json.js +16 -0
  302. package/dist/i18n/es_US/Payroll.Dismissal.json.js.map +1 -0
  303. package/dist/i18n/es_US/Payroll.EmployeeSelection.json.js +8 -0
  304. package/dist/i18n/es_US/Payroll.EmployeeSelection.json.js.map +1 -0
  305. package/dist/i18n/es_US/Payroll.GrossUpModal.json.js +26 -0
  306. package/dist/i18n/es_US/Payroll.GrossUpModal.json.js.map +1 -0
  307. package/dist/i18n/es_US/Payroll.OffCycle.json.js +8 -0
  308. package/dist/i18n/es_US/Payroll.OffCycle.json.js.map +1 -0
  309. package/dist/i18n/es_US/Payroll.OffCycleCreation.json.js +16 -0
  310. package/dist/i18n/es_US/Payroll.OffCycleCreation.json.js.map +1 -0
  311. package/dist/i18n/es_US/Payroll.OffCycleDeductionsSetting.json.js +8 -0
  312. package/dist/i18n/es_US/Payroll.OffCycleDeductionsSetting.json.js.map +1 -0
  313. package/dist/i18n/es_US/Payroll.OffCyclePayPeriodDateForm.json.js +14 -0
  314. package/dist/i18n/es_US/Payroll.OffCyclePayPeriodDateForm.json.js.map +1 -0
  315. package/dist/i18n/es_US/Payroll.OffCycleReasonSelection.json.js +12 -0
  316. package/dist/i18n/es_US/Payroll.OffCycleReasonSelection.json.js.map +1 -0
  317. package/dist/i18n/es_US/Payroll.OffCycleTaxWithholding.json.js +16 -0
  318. package/dist/i18n/es_US/Payroll.OffCycleTaxWithholding.json.js.map +1 -0
  319. package/dist/i18n/es_US/Payroll.PayrollBlocker.json.js +34 -0
  320. package/dist/i18n/es_US/Payroll.PayrollBlocker.json.js.map +1 -0
  321. package/dist/i18n/es_US/Payroll.PayrollConfiguration.json.js +44 -0
  322. package/dist/i18n/es_US/Payroll.PayrollConfiguration.json.js.map +1 -0
  323. package/dist/i18n/es_US/Payroll.PayrollEditEmployee.json.js +66 -0
  324. package/dist/i18n/es_US/Payroll.PayrollEditEmployee.json.js.map +1 -0
  325. package/dist/i18n/es_US/Payroll.PayrollHistory.json.js +22 -0
  326. package/dist/i18n/es_US/Payroll.PayrollHistory.json.js.map +1 -0
  327. package/dist/i18n/es_US/Payroll.PayrollLanding.json.js +16 -0
  328. package/dist/i18n/es_US/Payroll.PayrollLanding.json.js.map +1 -0
  329. package/dist/i18n/es_US/Payroll.PayrollList.json.js +38 -0
  330. package/dist/i18n/es_US/Payroll.PayrollList.json.js.map +1 -0
  331. package/dist/i18n/es_US/Payroll.PayrollOverview.json.js +70 -0
  332. package/dist/i18n/es_US/Payroll.PayrollOverview.json.js.map +1 -0
  333. package/dist/i18n/es_US/Payroll.PayrollReceipts.json.js +20 -0
  334. package/dist/i18n/es_US/Payroll.PayrollReceipts.json.js.map +1 -0
  335. package/dist/i18n/es_US/Payroll.RecoveryCasesList.json.js +20 -0
  336. package/dist/i18n/es_US/Payroll.RecoveryCasesList.json.js.map +1 -0
  337. package/dist/i18n/es_US/Payroll.RecoveryCasesResubmit.json.js +8 -0
  338. package/dist/i18n/es_US/Payroll.RecoveryCasesResubmit.json.js.map +1 -0
  339. package/dist/i18n/es_US/Payroll.Transition.json.js +8 -0
  340. package/dist/i18n/es_US/Payroll.Transition.json.js.map +1 -0
  341. package/dist/i18n/es_US/Payroll.TransitionCreation.json.js +20 -0
  342. package/dist/i18n/es_US/Payroll.TransitionCreation.json.js.map +1 -0
  343. package/dist/i18n/es_US/Payroll.TransitionPayrollAlert.json.js +18 -0
  344. package/dist/i18n/es_US/Payroll.TransitionPayrollAlert.json.js.map +1 -0
  345. package/dist/i18n/es_US/Payroll.WireInstructions.json.js +30 -0
  346. package/dist/i18n/es_US/Payroll.WireInstructions.json.js.map +1 -0
  347. package/dist/i18n/es_US/common.json.js +44 -0
  348. package/dist/i18n/es_US/common.json.js.map +1 -0
  349. package/dist/i18n/types.d.ts +262 -6
  350. package/dist/index.d.ts +2 -2
  351. package/dist/models/external.d.ts +23 -0
  352. package/dist/style.css +1 -1
  353. package/docs/guides/endpoint-inventory.json +5 -0
  354. package/package.json +10 -10
@@ -1,145 +1,145 @@
1
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
2
- import { useForm as J, useFieldArray as Te, useWatch as Pe, FormProvider as ee } from "react-hook-form";
1
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
+ import { useForm as J, useFieldArray as Te, useWatch as Ae, FormProvider as ee } from "react-hook-form";
3
3
  import { useRef as Me, useMemo as w, useState as Oe } from "react";
4
- import { PayrollEmployeeCompensationsTypePaymentMethod as L } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
5
- import { useTranslation as Ae } from "react-i18next";
4
+ import { PayrollEmployeeCompensationsTypePaymentMethod as M } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
5
+ import { useTranslation as ve } from "react-i18next";
6
6
  import { z as s } from "zod";
7
7
  import { zodResolver as ne } from "@hookform/resolvers/zod";
8
- import c from "./PayrollEditEmployeePresentation.module.scss.js";
9
- import { TimeOffField as Re, PayoutTimeOffField as ve } from "./TimeOffField.js";
10
- import { Flex as E } from "../../Common/Flex/Flex.js";
11
- import { Grid as v } from "../../Common/Grid/Grid.js";
8
+ import p from "./PayrollEditEmployeePresentation.module.scss.js";
9
+ import { TimeOffField as Re, PayoutTimeOffField as xe } from "./TimeOffField.js";
10
+ import { Flex as P } from "../../Common/Flex/Flex.js";
11
+ import { Grid as x } from "../../Common/Grid/Grid.js";
12
12
  import { EmptyData as Se } from "../../Common/EmptyData/EmptyData.js";
13
- import { useComponentContext as xe } from "../../../contexts/ComponentAdapter/useComponentContext.js";
14
- import { useI18n as Fe } from "../../../i18n/I18n.js";
15
- import { Form as Ie } from "../../Common/Form/Form.js";
16
- import { formatNumberAsCurrency as ie, firstLastName as De } from "../../../helpers/formattedStrings.js";
17
- import { getAdditionalEarningsCompensations as _e, calculateGrossPay as te } from "../helpers.js";
18
- import { PayrollCategory as F, isOffCyclePayroll as oe } from "../payrollTypes.js";
19
- import { COMPENSATION_NAME_REIMBURSEMENT as S, HOURS_COMPENSATION_NAMES as re, EXCLUDED_ADDITIONAL_EARNINGS as Le, COMPENSATION_NAME_DOUBLE_OVERTIME as Ue, COMPENSATION_NAME_OVERTIME as ke, COMPENSATION_NAME_REGULAR_HOURS as je, COMPENSATION_NAME_CASH_TIPS as Ge, COMPENSATION_NAME_COMMISSION as He, COMPENSATION_NAME_CORRECTION_PAYMENT as we, COMPENSATION_NAME_PAYCHECK_TIPS as $e, COMPENSATION_NAME_BONUS as Ve } from "../../../shared/constants.js";
20
- import Be from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
13
+ import { useComponentContext as Fe } from "../../../contexts/ComponentAdapter/useComponentContext.js";
14
+ import { useI18n as Ie } from "../../../i18n/I18n.js";
15
+ import { Form as De } from "../../Common/Form/Form.js";
16
+ import { formatNumberAsCurrency as te, firstLastName as _e } from "../../../helpers/formattedStrings.js";
17
+ import { getAdditionalEarningsCompensations as Le, calculateGrossPay as ie } from "../helpers.js";
18
+ import { PayrollCategory as D, isOffCyclePayroll as ae } from "../payrollTypes.js";
19
+ import { COMPENSATION_NAME_REIMBURSEMENT as S, HOURS_COMPENSATION_NAMES as re, EXCLUDED_ADDITIONAL_EARNINGS as ke, COMPENSATION_NAME_DOUBLE_OVERTIME as Ue, COMPENSATION_NAME_OVERTIME as je, COMPENSATION_NAME_REGULAR_HOURS as Ge, COMPENSATION_NAME_CASH_TIPS as He, COMPENSATION_NAME_COMMISSION as we, COMPENSATION_NAME_CORRECTION_PAYMENT as $e, COMPENSATION_NAME_PAYCHECK_TIPS as Ve, COMPENSATION_NAME_BONUS as Be } from "../../../shared/constants.js";
20
+ import qe from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
21
21
  import se from "../../../assets/icons/plus-circle.svg.js";
22
- import qe from "../../../assets/icons/trashcan.svg.js";
23
- import { TextInputField as x } from "../../Common/Fields/TextInputField/TextInputField.js";
24
- import { RadioGroupField as ze } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
25
- import { useDataView as We } from "../../Common/DataView/useDataView.js";
26
- import { DataView as Ye } from "../../Common/DataView/DataView.js";
27
- const Ke = s.object({
22
+ import ze from "../../../assets/icons/trashcan.svg.js";
23
+ import { TextInputField as I } from "../../Common/Fields/TextInputField/TextInputField.js";
24
+ import { RadioGroupField as We } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
25
+ import { useDataView as Ye } from "../../Common/DataView/useDataView.js";
26
+ import { DataView as Ke } from "../../Common/DataView/DataView.js";
27
+ const Xe = s.object({
28
28
  uuid: s.string().nullable().optional(),
29
29
  description: s.string(),
30
30
  amount: s.string(),
31
31
  recurring: s.boolean().optional()
32
- }), Xe = s.object({
32
+ }), Qe = s.object({
33
33
  description: s.string(),
34
34
  amount: s.string().refine(
35
- (u) => {
36
- const g = parseFloat(u);
35
+ (m) => {
36
+ const g = parseFloat(m);
37
37
  return !Number.isNaN(g) && g > 0;
38
38
  },
39
39
  { message: "validations.reimbursementAmount" }
40
40
  )
41
- }), Qe = s.string().optional().refine((u) => !u || parseFloat(u) >= 0, { message: "validations.negativeAmount" }), Ze = s.object({
41
+ }), Ze = s.string().optional().refine((m) => !m || parseFloat(m) >= 0, { message: "validations.negativeAmount" }), Je = s.object({
42
42
  hourlyCompensations: s.record(s.string(), s.record(s.string(), s.string().optional())),
43
43
  timeOffCompensations: s.record(s.string(), s.string().optional()),
44
44
  finalPayoutCompensations: s.record(s.string(), s.string().optional()),
45
- fixedCompensations: s.record(s.string(), Qe),
46
- reimbursements: s.array(Ke),
47
- paymentMethod: s.enum(L).optional()
48
- }), ae = (u, g, p, o, I = F.Regular) => {
49
- const C = {
45
+ fixedCompensations: s.record(s.string(), Ze),
46
+ reimbursements: s.array(Xe),
47
+ paymentMethod: s.enum(M).optional()
48
+ }), oe = (m, g, f, a, _ = D.Regular) => {
49
+ const y = {
50
50
  ...g,
51
- paymentMethod: u.paymentMethod
51
+ paymentMethod: m.paymentMethod
52
52
  };
53
- C.hourlyCompensations = g?.hourlyCompensations?.map(
53
+ y.hourlyCompensations = g?.hourlyCompensations?.map(
54
54
  (r) => {
55
- const m = r.jobUuid && r.name ? u.hourlyCompensations[r.jobUuid]?.[r.name] : void 0;
56
- return m ? {
55
+ const c = r.jobUuid && r.name ? m.hourlyCompensations[r.jobUuid]?.[r.name] : void 0;
56
+ return c ? {
57
57
  ...r,
58
- hours: m
58
+ hours: c
59
59
  } : r;
60
60
  }
61
- ), C.paidTimeOff = p.map((r) => {
62
- const m = I === F.Dismissal, { finalPayoutUnusedHoursInput: U, ...d } = r;
63
- if (m) {
64
- const O = u.finalPayoutCompensations[r.name] ?? r.finalPayoutUnusedHoursInput;
61
+ ), y.paidTimeOff = f.map((r) => {
62
+ const c = _ === D.Dismissal, { finalPayoutUnusedHoursInput: F, ...u } = r;
63
+ if (c) {
64
+ const h = m.finalPayoutCompensations[r.name] ?? r.finalPayoutUnusedHoursInput;
65
65
  return {
66
66
  ...r,
67
- hours: u.timeOffCompensations[r.name] || "0",
68
- ...O != null ? { finalPayoutUnusedHoursInput: O || "0" } : {}
67
+ hours: m.timeOffCompensations[r.name] || "0",
68
+ ...h != null ? { finalPayoutUnusedHoursInput: h || "0" } : {}
69
69
  };
70
70
  }
71
71
  return {
72
- ...d,
73
- hours: u.timeOffCompensations[r.name] || "0"
72
+ ...u,
73
+ hours: m.timeOffCompensations[r.name] || "0"
74
74
  };
75
75
  });
76
- const M = !oe(I), T = [];
77
- return Object.entries(u.fixedCompensations).forEach(([r, m]) => {
78
- if (r.toLowerCase() === S.toLowerCase() && M)
76
+ const O = !ae(_), T = [];
77
+ return Object.entries(m.fixedCompensations).forEach(([r, c]) => {
78
+ if (r.toLowerCase() === S.toLowerCase() && O)
79
79
  return;
80
- const d = g?.fixedCompensations?.find(
81
- (O) => O.name?.toLowerCase() === r.toLowerCase()
82
- );
83
- m !== void 0 && m !== "" && (d ? T.push({
84
- name: d.name,
85
- jobUuid: d.jobUuid,
86
- amount: m
87
- }) : parseFloat(m) !== 0 && T.push({
80
+ const u = g?.fixedCompensations?.find(
81
+ (l) => l.name?.toLowerCase() === r.toLowerCase()
82
+ ), h = c === "" && u ? "0" : c;
83
+ h !== void 0 && h !== "" && (u ? T.push({
84
+ name: u.name,
85
+ jobUuid: u.jobUuid,
86
+ amount: h
87
+ }) : parseFloat(h) !== 0 && T.push({
88
88
  name: r,
89
- jobUuid: o,
90
- amount: m
89
+ jobUuid: a,
90
+ amount: h
91
91
  }));
92
- }), C.fixedCompensations = T, M ? C.reimbursements = u.reimbursements.map((r) => ({
92
+ }), y.fixedCompensations = T, O ? y.reimbursements = m.reimbursements.map((r) => ({
93
93
  amount: r.amount,
94
94
  description: r.description.trim() === "" ? null : r.description.trim(),
95
95
  uuid: r.uuid ?? null,
96
96
  recurring: r.recurring
97
- })) : C.reimbursements = [], C;
97
+ })) : y.reimbursements = [], y;
98
98
  }, Rn = ({
99
- onSave: u,
99
+ onSave: m,
100
100
  onCancel: g,
101
- employee: p,
102
- employeeCompensation: o,
103
- isPending: I = !1,
104
- fixedCompensationTypes: C,
105
- payPeriodStartDate: M,
101
+ employee: f,
102
+ employeeCompensation: a,
103
+ isPending: _ = !1,
104
+ fixedCompensationTypes: y,
105
+ payPeriodStartDate: O,
106
106
  paySchedule: T,
107
- payrollCategory: r = F.Regular,
108
- withReimbursements: m = !0,
109
- hasDirectDepositSetup: U = !0
107
+ payrollCategory: r = D.Regular,
108
+ withReimbursements: c = !0,
109
+ hasDirectDepositSetup: F = !0
110
110
  }) => {
111
- const { Button: d, ButtonIcon: O, Heading: f, Text: $ } = xe(), { t: n } = Ae("Payroll.PayrollEditEmployee");
112
- Fe("Payroll.PayrollEditEmployee");
113
- const h = p.jobs?.find((e) => e.primary), me = o?.hourlyCompensations?.some(
114
- (e) => e.jobUuid === h?.uuid
115
- ), A = h && me ? [h] : [], V = Me(null), b = Be({
111
+ const { Button: u, ButtonIcon: h, Heading: l, Text: $ } = Fe(), { t: n } = ve("Payroll.PayrollEditEmployee");
112
+ Ie("Payroll.PayrollEditEmployee");
113
+ const b = f.jobs?.find((e) => e.primary), me = a?.hourlyCompensations?.some(
114
+ (e) => e.jobUuid === b?.uuid
115
+ ), v = b && me ? [b] : [], V = Me(null), C = qe({
116
116
  ref: V
117
117
  }).includes("small");
118
- o?.hourlyCompensations?.forEach((e) => {
119
- const t = p.jobs?.find((l) => l.uuid === e.jobUuid);
120
- t && !A.find((l) => l.uuid === t.uuid) && A.push(t);
118
+ a?.hourlyCompensations?.forEach((e) => {
119
+ const i = f.jobs?.find((d) => d.uuid === e.jobUuid);
120
+ i && !v.find((d) => d.uuid === i.uuid) && v.push(i);
121
121
  });
122
- const P = (o?.paidTimeOff || []).filter((e) => e.name), k = _e({
123
- flsaStatus: h?.compensations?.[0]?.flsaStatus,
124
- existingFixedCompensations: o?.fixedCompensations || [],
125
- primaryJobUuid: h?.uuid,
126
- fixedCompensationTypes: C,
127
- excludedTypes: Le
128
- }), D = !oe(r), ue = w(
129
- () => m && D ? o?.reimbursements ?? [] : [],
130
- [m, D, o?.reimbursements]
122
+ const A = (a?.paidTimeOff || []).filter((e) => e.name), U = Le({
123
+ flsaStatus: b?.compensations?.[0]?.flsaStatus,
124
+ existingFixedCompensations: a?.fixedCompensations || [],
125
+ primaryJobUuid: b?.uuid,
126
+ fixedCompensationTypes: y,
127
+ excludedTypes: ke
128
+ }), L = !ae(r), ue = w(
129
+ () => c && L ? a?.reimbursements ?? [] : [],
130
+ [c, L, a?.reimbursements]
131
131
  ), le = w(
132
- () => o?.fixedCompensations?.find(
132
+ () => a?.fixedCompensations?.find(
133
133
  (e) => e.name?.toLowerCase() === S.toLowerCase()
134
134
  ),
135
- [o?.fixedCompensations]
136
- ), B = m && !D && !!h?.uuid, q = (e, t) => o?.hourlyCompensations?.find(
137
- (l) => l.jobUuid === e && l.name?.toLowerCase() === t.toLowerCase()
135
+ [a?.fixedCompensations]
136
+ ), B = c && !L && !!b?.uuid, q = (e, i) => a?.hourlyCompensations?.find(
137
+ (d) => d.jobUuid === e && d.name?.toLowerCase() === i.toLowerCase()
138
138
  ), de = (e) => {
139
139
  switch (e) {
140
- case je:
140
+ case Ge:
141
141
  return n("compensationNames.regularHours");
142
- case ke:
142
+ case je:
143
143
  return n("compensationNames.overtime");
144
144
  case Ue:
145
145
  return n("compensationNames.doubleOvertime");
@@ -148,47 +148,50 @@ const Ke = s.object({
148
148
  }
149
149
  }, z = (e) => {
150
150
  switch (e) {
151
- case Ve:
151
+ case Be:
152
152
  return n("fixedCompensationNames.bonus");
153
- case $e:
153
+ case Ve:
154
154
  return n("fixedCompensationNames.paycheckTips");
155
- case we:
155
+ case $e:
156
156
  return n("fixedCompensationNames.correctionPayment");
157
- case He:
157
+ case we:
158
158
  return n("fixedCompensationNames.commission");
159
- case Ge:
159
+ case He:
160
160
  return n("fixedCompensationNames.cashTips");
161
161
  case S:
162
162
  return n("fixedCompensationNames.reimbursement");
163
163
  default:
164
164
  return e;
165
165
  }
166
- }, ce = {
166
+ }, ce = () => {
167
+ const e = a?.paymentMethod;
168
+ return e ? !F && e === M.DirectDeposit ? M.Check : e : F ? M.DirectDeposit : M.Check;
169
+ }, pe = {
167
170
  hourlyCompensations: (() => {
168
171
  const e = {};
169
- return A.forEach((t) => {
170
- re.forEach((l) => {
171
- const R = q(t.uuid, l);
172
- R && (e[t.uuid] || (e[t.uuid] = {}), e[t.uuid][R.name] = R.hours ? parseFloat(R.hours).toString() : "");
172
+ return v.forEach((i) => {
173
+ re.forEach((d) => {
174
+ const R = q(i.uuid, d);
175
+ R && (e[i.uuid] || (e[i.uuid] = {}), e[i.uuid][R.name] = R.hours ? parseFloat(R.hours).toString() : "");
173
176
  });
174
177
  }), e;
175
178
  })(),
176
179
  timeOffCompensations: (() => {
177
180
  const e = {};
178
- return P.forEach((t) => {
179
- e[t.name] = t.hours ? parseFloat(t.hours).toString() : "";
181
+ return A.forEach((i) => {
182
+ e[i.name] = i.hours ? parseFloat(i.hours).toString() : "";
180
183
  }), e;
181
184
  })(),
182
185
  finalPayoutCompensations: (() => {
183
186
  const e = {};
184
- return P.forEach((t) => {
185
- e[t.name] = t.finalPayoutUnusedHoursInput ?? "0";
187
+ return A.forEach((i) => {
188
+ e[i.name] = i.finalPayoutUnusedHoursInput ?? "0";
186
189
  }), e;
187
190
  })(),
188
191
  fixedCompensations: (() => {
189
192
  const e = {};
190
- return k.forEach((t) => {
191
- e[t.name] = t.amount ?? "";
193
+ return U.forEach((i) => {
194
+ e[i.name] = i.amount ?? "";
192
195
  }), B && (e[S] = le?.amount ?? "0.00"), e;
193
196
  })(),
194
197
  reimbursements: ue.map((e) => ({
@@ -197,35 +200,35 @@ const Ke = s.object({
197
200
  amount: e.amount,
198
201
  recurring: e.recurring ?? !1
199
202
  })),
200
- paymentMethod: o?.paymentMethod || L.DirectDeposit
201
- }, _ = J({
202
- resolver: ne(Ze),
203
- defaultValues: ce
203
+ paymentMethod: ce()
204
+ }, k = J({
205
+ resolver: ne(Je),
206
+ defaultValues: pe
204
207
  }), {
205
208
  fields: W,
206
- append: pe,
207
- remove: fe,
208
- update: he
209
+ append: fe,
210
+ remove: he,
211
+ update: be
209
212
  } = Te({
210
- control: _.control,
213
+ control: k.control,
211
214
  name: "reimbursements"
212
- }), be = (e) => {
213
- const t = W[e];
214
- t && (t.uuid ? he(e, { ...t, amount: "0" }) : fe(e));
215
- }, j = W.map((e, t) => ({ ...e, originalIndex: t })).filter((e) => parseFloat(e.amount || "0") !== 0), [Y, G] = Oe(!1), H = J({
216
- resolver: ne(Xe),
215
+ }), Ce = (e) => {
216
+ const i = W[e];
217
+ i && (i.uuid ? be(e, { ...i, amount: "0" }) : he(e));
218
+ }, j = W.map((e, i) => ({ ...e, originalIndex: i })).filter((e) => parseFloat(e.amount || "0") !== 0), [Y, G] = Oe(!1), H = J({
219
+ resolver: ne(Qe),
217
220
  defaultValues: { description: "", amount: "" }
218
221
  }), K = () => {
219
222
  G(!1), H.reset();
220
223
  }, ge = (e) => {
221
- const t = parseFloat(e.amount);
222
- pe({
224
+ const i = parseFloat(e.amount);
225
+ fe({
223
226
  uuid: null,
224
227
  description: e.description.trim(),
225
- amount: t.toFixed(2),
228
+ amount: i.toFixed(2),
226
229
  recurring: !1
227
230
  }), K();
228
- }, Ce = We({
231
+ }, ye = Ye({
229
232
  data: j,
230
233
  columns: [
231
234
  {
@@ -236,7 +239,8 @@ const Ke = s.object({
236
239
  {
237
240
  key: "amount",
238
241
  title: n("reimbursementAmountColumn"),
239
- render: (e) => ie(parseFloat(e.amount || "0"))
242
+ justify: "end",
243
+ render: (e) => te(parseFloat(e.amount || "0"))
240
244
  },
241
245
  {
242
246
  key: "recurring",
@@ -246,192 +250,192 @@ const Ke = s.object({
246
250
  ],
247
251
  itemMenu: (e) => {
248
252
  if (e.recurring) return null;
249
- const t = e.description.trim() || n("reimbursementUnnamedFallback");
250
- return /* @__PURE__ */ i(
251
- O,
253
+ const i = e.description.trim() || n("reimbursementUnnamedFallback");
254
+ return /* @__PURE__ */ t(
255
+ h,
252
256
  {
253
257
  variant: "tertiary",
254
258
  onClick: () => {
255
- be(e.originalIndex);
259
+ Ce(e.originalIndex);
256
260
  },
257
- "aria-label": n("removeReimbursementLabel", { description: t }),
258
- children: /* @__PURE__ */ i(qe, { "aria-hidden": !0 })
261
+ "aria-label": n("removeReimbursementLabel", { description: i }),
262
+ children: /* @__PURE__ */ t(ze, { "aria-hidden": !0 })
259
263
  }
260
264
  );
261
265
  },
262
- emptyState: () => /* @__PURE__ */ i(Se, { title: n("reimbursementEmptyTitle"), children: /* @__PURE__ */ i(
263
- d,
266
+ emptyState: () => /* @__PURE__ */ t(Se, { title: n("reimbursementEmptyTitle"), children: /* @__PURE__ */ t(
267
+ u,
264
268
  {
265
269
  variant: "secondary",
266
270
  onClick: () => {
267
271
  G(!0);
268
272
  },
269
- icon: /* @__PURE__ */ i(se, { "aria-hidden": !0 }),
273
+ icon: /* @__PURE__ */ t(se, { "aria-hidden": !0 }),
270
274
  children: n("addReimbursementCta")
271
275
  }
272
276
  ) })
273
- }), y = Pe({
274
- control: _.control
275
- }), ye = w(() => {
277
+ }), N = Ae({
278
+ control: k.control
279
+ }), Ne = w(() => {
276
280
  try {
277
281
  const e = {};
278
- y.hourlyCompensations && Object.entries(y.hourlyCompensations).forEach(([N, Z]) => {
279
- Z && (e[N] = Z);
282
+ N.hourlyCompensations && Object.entries(N.hourlyCompensations).forEach(([E, Z]) => {
283
+ Z && (e[E] = Z);
280
284
  });
281
- const t = (y.reimbursements ?? []).map((N) => ({
282
- uuid: N.uuid ?? null,
283
- description: N.description ?? "",
284
- amount: N.amount ?? "0",
285
- recurring: N.recurring
286
- })), l = {
285
+ const i = (N.reimbursements ?? []).map((E) => ({
286
+ uuid: E.uuid ?? null,
287
+ description: E.description ?? "",
288
+ amount: E.amount ?? "0",
289
+ recurring: E.recurring
290
+ })), d = {
287
291
  hourlyCompensations: e,
288
- timeOffCompensations: y.timeOffCompensations || {},
289
- finalPayoutCompensations: y.finalPayoutCompensations || {},
290
- fixedCompensations: y.fixedCompensations || {},
291
- reimbursements: t,
292
- paymentMethod: y.paymentMethod
293
- }, R = ae(
294
- l,
295
- o,
296
- (o?.paidTimeOff || []).filter((N) => N.name),
297
- h?.uuid,
292
+ timeOffCompensations: N.timeOffCompensations || {},
293
+ finalPayoutCompensations: N.finalPayoutCompensations || {},
294
+ fixedCompensations: N.fixedCompensations || {},
295
+ reimbursements: i,
296
+ paymentMethod: N.paymentMethod
297
+ }, R = oe(
298
+ d,
299
+ a,
300
+ (a?.paidTimeOff || []).filter((E) => E.name),
301
+ b?.uuid,
298
302
  r
299
303
  );
300
- return te(
304
+ return ie(
301
305
  R,
302
- p,
303
- M,
306
+ f,
307
+ O,
304
308
  T,
305
309
  r
306
310
  );
307
311
  } catch {
308
- return o ? te(
309
- o,
310
- p,
311
- M,
312
+ return a ? ie(
313
+ a,
314
+ f,
315
+ O,
312
316
  T,
313
317
  r
314
318
  ) : 0;
315
319
  }
316
320
  }, [
317
- y,
318
- o,
319
- h?.uuid,
320
- p,
321
- M,
321
+ N,
322
+ a,
323
+ b?.uuid,
324
+ f,
325
+ O,
322
326
  T,
323
327
  r
324
- ]), Ne = De({
325
- first_name: p.firstName,
326
- last_name: p.lastName
327
- }), Ee = (e) => {
328
- const t = ae(
328
+ ]), Ee = _e({
329
+ first_name: f.firstName,
330
+ last_name: f.lastName
331
+ }), Pe = (e) => {
332
+ const i = oe(
329
333
  e,
330
- o,
331
- P,
332
- h?.uuid,
334
+ a,
335
+ A,
336
+ b?.uuid,
333
337
  r
334
338
  );
335
- u(t);
336
- }, X = ie(ye || 0), Q = /* @__PURE__ */ a(
337
- E,
339
+ m(i);
340
+ }, X = te(Ne || 0), Q = /* @__PURE__ */ o(
341
+ P,
338
342
  {
339
- flexDirection: b ? "row" : "column",
340
- justifyContent: b ? "flex-end" : "normal",
341
- alignItems: b ? "flex-start" : "stretch",
343
+ flexDirection: C ? "row" : "column",
344
+ justifyContent: C ? "flex-end" : "normal",
345
+ alignItems: C ? "flex-start" : "stretch",
342
346
  gap: 12,
343
347
  children: [
344
- /* @__PURE__ */ i(d, { variant: "secondary", onClick: g, title: n("cancelCta"), children: n("cancelCta") }),
345
- /* @__PURE__ */ i(
346
- d,
348
+ /* @__PURE__ */ t(u, { variant: "secondary", onClick: g, title: n("cancelCta"), children: n("cancelCta") }),
349
+ /* @__PURE__ */ t(
350
+ u,
347
351
  {
348
- onClick: _.handleSubmit(Ee),
352
+ onClick: k.handleSubmit(Pe),
349
353
  title: n("saveCta"),
350
- isLoading: I,
354
+ isLoading: _,
351
355
  children: n("saveCta")
352
356
  }
353
357
  )
354
358
  ]
355
359
  }
356
360
  );
357
- return /* @__PURE__ */ a("div", { ref: V, className: c.container, children: [
358
- /* @__PURE__ */ i(
361
+ return /* @__PURE__ */ o("div", { ref: V, className: p.container, children: [
362
+ /* @__PURE__ */ t(
359
363
  "div",
360
364
  {
361
- className: `${c.headerSection} ${b ? "" : c.headerSectionSticky}`,
362
- children: /* @__PURE__ */ a(E, { justifyContent: "space-between", children: [
363
- /* @__PURE__ */ a(E, { flexDirection: "column", gap: b ? 8 : 2, children: [
364
- /* @__PURE__ */ i(f, { as: "h1", styledAs: b ? "h2" : "h4", children: n("pageTitle", { employeeName: Ne }) }),
365
- b ? /* @__PURE__ */ a(E, { flexDirection: "column", gap: 6, children: [
366
- /* @__PURE__ */ i(f, { as: "h2", styledAs: "h3", children: X }),
367
- /* @__PURE__ */ i($, { className: c.grossPayLabel, children: n("grossPayLabel") })
368
- ] }) : /* @__PURE__ */ i(f, { as: "h2", styledAs: "h6", className: c.grossPayLabel, children: n("grossPayLabelMobile", { grossPay: X }) })
365
+ className: `${p.headerSection} ${C ? "" : p.headerSectionSticky}`,
366
+ children: /* @__PURE__ */ o(P, { justifyContent: "space-between", children: [
367
+ /* @__PURE__ */ o(P, { flexDirection: "column", gap: C ? 8 : 2, children: [
368
+ /* @__PURE__ */ t(l, { as: "h1", styledAs: C ? "h2" : "h4", children: n("pageTitle", { employeeName: Ee }) }),
369
+ C ? /* @__PURE__ */ o(P, { flexDirection: "column", gap: 6, children: [
370
+ /* @__PURE__ */ t(l, { as: "h2", styledAs: "h3", children: X }),
371
+ /* @__PURE__ */ t($, { className: p.grossPayLabel, children: n("grossPayLabel") })
372
+ ] }) : /* @__PURE__ */ t(l, { as: "h2", styledAs: "h6", className: p.grossPayLabel, children: n("grossPayLabelMobile", { grossPay: X }) })
369
373
  ] }),
370
- b && Q
374
+ C && Q
371
375
  ] })
372
376
  }
373
377
  ),
374
- /* @__PURE__ */ a(ee, { ..._, children: [
375
- /* @__PURE__ */ a(Ie, { children: [
376
- A.length > 0 && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
377
- /* @__PURE__ */ i(f, { as: "h3", children: n("regularHoursTitle") }),
378
- A.map((e) => /* @__PURE__ */ a(E, { flexDirection: "column", gap: 8, children: [
379
- A.length > 1 && /* @__PURE__ */ i(f, { as: "h4", children: e.title }),
380
- /* @__PURE__ */ i(v, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: re.map((t) => {
381
- const l = q(
378
+ /* @__PURE__ */ o(ee, { ...k, children: [
379
+ /* @__PURE__ */ o(De, { children: [
380
+ v.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
381
+ /* @__PURE__ */ t(l, { as: "h3", children: n("regularHoursTitle") }),
382
+ v.map((e) => /* @__PURE__ */ o(P, { flexDirection: "column", gap: 8, children: [
383
+ v.length > 1 && /* @__PURE__ */ t(l, { as: "h4", children: e.title }),
384
+ /* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: re.map((i) => {
385
+ const d = q(
382
386
  e.uuid,
383
- t
387
+ i
384
388
  );
385
- if (l)
386
- return /* @__PURE__ */ i(
387
- x,
389
+ if (d)
390
+ return /* @__PURE__ */ t(
391
+ I,
388
392
  {
389
393
  type: "number",
390
394
  min: 0,
391
395
  adornmentEnd: n("hoursUnit"),
392
396
  isRequired: !0,
393
- label: de(t),
394
- name: `hourlyCompensations.${e.uuid}.${l.name}`
397
+ label: de(i),
398
+ name: `hourlyCompensations.${e.uuid}.${d.name}`
395
399
  },
396
- t
400
+ i
397
401
  );
398
402
  }) })
399
403
  ] }, e.uuid))
400
404
  ] }),
401
- P.length > 0 && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
402
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: r === F.Dismissal ? n("timeOffTitleDismissal") : n("timeOffTitle") }),
403
- /* @__PURE__ */ i(v, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: P.map((e) => /* @__PURE__ */ i(
405
+ A.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
406
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: r === D.Dismissal ? n("timeOffTitleDismissal") : n("timeOffTitle") }),
407
+ /* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: A.map((e) => /* @__PURE__ */ t(
404
408
  Re,
405
409
  {
406
410
  timeOff: e,
407
- employee: p
411
+ employee: f
408
412
  },
409
413
  e.name
410
414
  )) })
411
415
  ] }),
412
- r === F.Dismissal && P.length > 0 && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
413
- /* @__PURE__ */ a(E, { flexDirection: "column", gap: 4, children: [
414
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: n("finalPayoutTitle") }),
415
- /* @__PURE__ */ i($, { variant: "supporting", children: n("finalPayoutDescription") })
416
+ r === D.Dismissal && A.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
417
+ /* @__PURE__ */ o(P, { flexDirection: "column", gap: 4, children: [
418
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("finalPayoutTitle") }),
419
+ /* @__PURE__ */ t($, { variant: "supporting", children: n("finalPayoutDescription") })
416
420
  ] }),
417
- /* @__PURE__ */ i(v, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: P.map((e) => /* @__PURE__ */ i(
418
- ve,
421
+ /* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: A.map((e) => /* @__PURE__ */ t(
422
+ xe,
419
423
  {
420
424
  timeOff: e,
421
- employee: p
425
+ employee: f
422
426
  },
423
427
  `payout-${e.name}`
424
428
  )) })
425
429
  ] }),
426
- k.length > 0 && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
427
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: n("additionalEarningsTitle") }),
428
- /* @__PURE__ */ i(
429
- v,
430
+ U.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
431
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("additionalEarningsTitle") }),
432
+ /* @__PURE__ */ t(
433
+ x,
430
434
  {
431
435
  gridTemplateColumns: { base: "1fr", small: [320, 320], large: [320, 320, 320] },
432
436
  gap: 20,
433
- children: k.map((e) => /* @__PURE__ */ i(
434
- x,
437
+ children: U.map((e) => /* @__PURE__ */ t(
438
+ I,
435
439
  {
436
440
  type: "number",
437
441
  min: 0,
@@ -446,10 +450,10 @@ const Ke = s.object({
446
450
  }
447
451
  )
448
452
  ] }),
449
- B && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
450
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
451
- /* @__PURE__ */ i(v, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ i(
452
- x,
453
+ B && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
454
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
455
+ /* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ t(
456
+ I,
453
457
  {
454
458
  type: "number",
455
459
  min: 0,
@@ -461,21 +465,21 @@ const Ke = s.object({
461
465
  }
462
466
  ) })
463
467
  ] }),
464
- m && D && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
465
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
466
- !(j.length === 0 && Y) && /* @__PURE__ */ i(Ye, { label: n("reimbursementsTableLabel"), ...Ce }),
467
- Y ? /* @__PURE__ */ i(ee, { ...H, children: /* @__PURE__ */ a(E, { flexDirection: "column", gap: 12, children: [
468
- /* @__PURE__ */ a(v, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: [
469
- /* @__PURE__ */ i(
470
- x,
468
+ c && L && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
469
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
470
+ !(j.length === 0 && Y) && /* @__PURE__ */ t(Ke, { label: n("reimbursementsTableLabel"), ...ye }),
471
+ Y ? /* @__PURE__ */ t(ee, { ...H, children: /* @__PURE__ */ o(P, { flexDirection: "column", gap: 12, children: [
472
+ /* @__PURE__ */ o(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: [
473
+ /* @__PURE__ */ t(
474
+ I,
471
475
  {
472
476
  name: "description",
473
477
  label: n("reimbursementDescriptionLabel"),
474
478
  placeholder: n("reimbursementDescriptionPlaceholder")
475
479
  }
476
480
  ),
477
- /* @__PURE__ */ i(
478
- x,
481
+ /* @__PURE__ */ t(
482
+ I,
479
483
  {
480
484
  name: "amount",
481
485
  type: "number",
@@ -487,27 +491,27 @@ const Ke = s.object({
487
491
  }
488
492
  )
489
493
  ] }),
490
- /* @__PURE__ */ a(E, { gap: 12, children: [
491
- /* @__PURE__ */ i(d, { onClick: H.handleSubmit(ge), children: n("saveReimbursementCta") }),
492
- /* @__PURE__ */ i(d, { variant: "secondary", onClick: K, children: n("cancelReimbursementCta") })
494
+ /* @__PURE__ */ o(P, { gap: 12, children: [
495
+ /* @__PURE__ */ t(u, { onClick: H.handleSubmit(ge), children: n("saveReimbursementCta") }),
496
+ /* @__PURE__ */ t(u, { variant: "secondary", onClick: K, children: n("cancelReimbursementCta") })
493
497
  ] })
494
- ] }) }) : j.length > 0 && /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
495
- d,
498
+ ] }) }) : j.length > 0 && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
499
+ u,
496
500
  {
497
501
  variant: "secondary",
498
502
  onClick: () => {
499
503
  G(!0);
500
504
  },
501
505
  title: n("addReimbursementLink"),
502
- icon: /* @__PURE__ */ i(se, { "aria-hidden": !0 }),
506
+ icon: /* @__PURE__ */ t(se, { "aria-hidden": !0 }),
503
507
  children: n("addReimbursementLink")
504
508
  }
505
509
  ) })
506
510
  ] }),
507
- U && /* @__PURE__ */ a("div", { className: c.fieldGroup, children: [
508
- /* @__PURE__ */ i(f, { as: "h3", styledAs: "h4", children: n("paymentMethodTitle") }),
509
- /* @__PURE__ */ i(
510
- ze,
511
+ F && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
512
+ /* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("paymentMethodTitle") }),
513
+ /* @__PURE__ */ t(
514
+ We,
511
515
  {
512
516
  name: "paymentMethod",
513
517
  isRequired: !0,
@@ -515,11 +519,11 @@ const Ke = s.object({
515
519
  description: n("paymentMethodDescription"),
516
520
  options: [
517
521
  {
518
- value: L.DirectDeposit,
522
+ value: M.DirectDeposit,
519
523
  label: n("paymentMethodOptions.directDeposit")
520
524
  },
521
525
  {
522
- value: L.Check,
526
+ value: M.Check,
523
527
  label: n("paymentMethodOptions.check")
524
528
  }
525
529
  ]
@@ -527,7 +531,7 @@ const Ke = s.object({
527
531
  )
528
532
  ] })
529
533
  ] }),
530
- !b && Q
534
+ !C && Q
531
535
  ] })
532
536
  ] });
533
537
  };