@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,85 +1,88 @@
1
1
  import { jsx as r, jsxs as o, Fragment as k } from "react/jsx-runtime";
2
- import { useTranslation as Ne, Trans as ke } from "react-i18next";
3
- import { useState as re, useRef as Se } from "react";
4
- import { isDismissalPayroll as we, getPayrollTypeLabel as Ce, calculateTotalPayroll as ve, getReimbursements as A } from "../helpers.js";
2
+ import { useTranslation as ke, Trans as Se } from "react-i18next";
3
+ import { useState as re, useRef as we } from "react";
4
+ import { isDismissalPayroll as ve, getPayrollTypeLabel as Ce, calculateTotalPayroll as Le, getReimbursements as S } from "../helpers.js";
5
5
  import { PayrollOverviewStatus as p } from "./PayrollOverviewTypes.js";
6
- import le from "./PayrollOverviewPresentation.module.scss.js";
6
+ import ne from "./PayrollOverviewPresentation.module.scss.js";
7
7
  import { Flex as s } from "../../Common/Flex/Flex.js";
8
- import { Grid as Le } from "../../Common/Grid/Grid.js";
9
- import _e from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
10
- import { useComponentContext as Ee } from "../../../contexts/ComponentAdapter/useComponentContext.js";
11
- import { useI18n as Oe } from "../../../i18n/I18n.js";
12
- import { useDateFormatter as Ae } from "../../../hooks/useDateFormatter.js";
13
- import Be from "../../../hooks/useNumberFormatter.js";
8
+ import { Grid as _e } from "../../Common/Grid/Grid.js";
9
+ import Ee from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
10
+ import { useComponentContext as Oe } from "../../../contexts/ComponentAdapter/useComponentContext.js";
11
+ import { useI18n as Ae } from "../../../i18n/I18n.js";
12
+ import { useDateFormatter as Be } from "../../../hooks/useDateFormatter.js";
13
+ import Ve from "../../../hooks/useNumberFormatter.js";
14
14
  import { firstLastName as B } from "../../../helpers/formattedStrings.js";
15
- import { FlsaStatus as ne, compensationTypeLabels as V, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as ie } from "../../../shared/constants.js";
15
+ import { FlsaStatus as le, compensationTypeLabels as V, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as ie } from "../../../shared/constants.js";
16
16
  import oe from "../../../assets/icons/download-cloud.svg.js";
17
17
  import { PayrollLoading as se } from "../../Common/PayrollLoading/PayrollLoading.js";
18
- import { FastAchSubmissionBlockerBanner as Ve } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
19
- import { GenericBlocker as We } from "./SubmissionBlockers/GenericBlocker.js";
18
+ import { FastAchSubmissionBlockerBanner as We } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
19
+ import { GenericBlocker as Ye } from "./SubmissionBlockers/GenericBlocker.js";
20
20
  import { DataView as c } from "../../Common/DataView/DataView.js";
21
- const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate, u.endDate) : { startDate: "", endDate: "" }, it = ({
21
+ const je = (u, w) => u?.startDate && u.endDate ? w.formatPayPeriod(u.startDate, u.endDate) : { startDate: "", endDate: "" }, ot = ({
22
22
  onEdit: u,
23
- onSubmit: S,
23
+ onSubmit: w,
24
24
  onCancel: de,
25
25
  onPayrollReceipt: ce,
26
26
  onPaystubDownload: W,
27
- payrollData: n,
27
+ payrollData: l,
28
28
  bankAccount: Y,
29
- taxes: w,
29
+ taxes: v,
30
30
  status: f = p.Viewing,
31
31
  isProcessed: h,
32
32
  canCancel: me = !1,
33
33
  canEdit: ue = !0,
34
- alerts: I = [],
34
+ alerts: j = [],
35
35
  submissionBlockers: b = [],
36
36
  selectedUnblockOptions: C = {},
37
- onUnblockOptionChange: M,
37
+ onUnblockOptionChange: I,
38
38
  wireInConfirmationRequest: be,
39
39
  printChecksBanner: ye,
40
40
  withReimbursements: g = !0,
41
41
  paymentSpeed: pe,
42
- pagination: v,
43
- downloadingEmployeeIds: U = /* @__PURE__ */ new Set()
42
+ pagination: L,
43
+ downloadingEmployeeIds: M = /* @__PURE__ */ new Set()
44
44
  }) => {
45
- const { Alert: F, Badge: L, Button: T, ButtonIcon: R, Dialog: fe, Heading: j, Text: y, Tabs: he } = Ee();
46
- Oe("Payroll.PayrollOverview");
47
- const d = Ae(), { t } = Ne("Payroll.PayrollOverview"), l = Be("currency"), [ge, Te] = re("companyPays"), [G, $] = re(!1), _ = Se(null), D = _e({ ref: _ }).includes("small"), H = f === p.Submitting || f === p.Cancelling, z = /* @__PURE__ */ r(j, { as: "h1", children: t(h ? "summaryTitle" : "overviewTitle") }), K = we(n.offCycleReason), X = /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(
48
- ke,
45
+ const { Alert: U, Badge: _, Button: T, ButtonIcon: F, Dialog: fe, Heading: R, Text: y, Tabs: he } = Oe();
46
+ Ae("Payroll.PayrollOverview");
47
+ const d = Be(), { t } = ke("Payroll.PayrollOverview"), n = Ve("currency"), [ge, Te] = re("companyPays"), [$, G] = re(!1), E = we(null), D = Ee({ ref: E }).includes("small"), H = f === p.Submitting || f === p.Cancelling, z = /* @__PURE__ */ r(R, { as: "h1", children: t(h ? "summaryTitle" : "overviewTitle") }), K = ve(l.offCycleReason), De = (() => {
48
+ const { time: e, date: a } = d.formatWithTime(l.payrollDeadline);
49
+ return a ? `${e} on ${a}` : e;
50
+ })(), X = /* @__PURE__ */ r(y, { children: /* @__PURE__ */ r(
51
+ Se,
49
52
  {
50
53
  i18nKey: K ? "pageSubtitleDismissal" : "pageSubtitle",
51
54
  t,
52
55
  components: { dateWrapper: /* @__PURE__ */ r(y, { weight: "bold", as: "span" }) },
53
56
  values: {
54
- ...Ye(n.payPeriod, d),
55
- payrollType: Ce(n)
57
+ ...je(l.payPeriod, d),
58
+ payrollType: Ce(l)
56
59
  }
57
60
  }
58
61
  ) });
59
62
  if (f === p.Cancelled)
60
- return /* @__PURE__ */ r("div", { ref: _, className: le.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
63
+ return /* @__PURE__ */ r("div", { ref: E, className: ne.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
61
64
  /* @__PURE__ */ r(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: /* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
62
65
  z,
63
66
  X
64
67
  ] }) }),
65
- /* @__PURE__ */ r(F, { status: "info", label: t("cancelledEmptyState") })
68
+ /* @__PURE__ */ r(U, { status: "info", label: t("cancelledEmptyState") })
66
69
  ] }) });
67
- const x = ve(n), De = n.payrollStatusMeta?.expectedDebitTime ?? n.payrollDeadline, q = (e) => e.taxes?.reduce(
70
+ const x = Le(l), He = l.payrollStatusMeta?.expectedDebitTime ?? l.payrollDeadline, q = (e) => e.taxes?.reduce(
68
71
  (a, i) => i.employer ? a + Number(i.amount) : a,
69
72
  0
70
73
  ) ?? 0, J = (e) => e.benefits?.reduce(
71
74
  (a, i) => i.companyContribution ? a + Number(i.companyContribution) : a,
72
75
  0
73
- ) ?? 0, He = (e) => Number(e.grossPay) + A(e) + q(e) + J(e), E = b.find(
76
+ ) ?? 0, xe = (e) => Number(e.grossPay) + S(e) + q(e) + J(e), O = b.find(
74
77
  (e) => e.blockerType === "fast_ach_threshold_exceeded" || e.blockerType === "needs_earned_access_for_fast_ach"
75
- ), O = E ? C[E.blockerType || ""] : void 0, m = E?.unblockOptions?.find(
76
- (e) => e.unblockType === O
77
- ), Q = O === "wire_in", Z = O === "move_to_four_day", P = (e) => e.hourlyCompensations?.reduce(
78
+ ), A = O ? C[O.blockerType || ""] : void 0, m = O?.unblockOptions?.find(
79
+ (e) => e.unblockType === A
80
+ ), Q = A === "wire_in", Z = A === "move_to_four_day", P = (e) => e.hourlyCompensations?.reduce(
78
81
  (a, i) => {
79
82
  if (typeof i.name > "u")
80
83
  return a;
81
- const N = i.name.toLowerCase(), Pe = a[N] ?? 0;
82
- return a[N] = Pe + Number(i.hours || 0), a;
84
+ const N = i.name.toLowerCase(), Ne = a[N] ?? 0;
85
+ return a[N] = Ne + Number(i.hours || 0), a;
83
86
  },
84
87
  {}
85
88
  ) || {}, ee = (e) => e.paidTimeOff?.reduce((a, i) => a + Number(i.hours || 0), 0) ?? 0, te = [
@@ -91,44 +94,49 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
91
94
  first_name: e.firstName,
92
95
  last_name: e.lastName
93
96
  }),
94
- e.excluded && /* @__PURE__ */ r(L, { status: "warning", children: t("skippedBadge") })
97
+ e.excluded && /* @__PURE__ */ r(_, { status: "warning", children: t("skippedBadge") })
95
98
  ] })
96
99
  },
97
100
  {
98
101
  key: "grossPay",
99
102
  title: t("tableHeaders.grossPay"),
100
- render: (e) => l(Number(e.grossPay))
103
+ justify: "end",
104
+ render: (e) => n(Number(e.grossPay))
101
105
  },
102
106
  ...g ? [
103
107
  {
104
108
  key: "reimbursements",
105
109
  title: t("tableHeaders.reimbursements"),
106
- render: (e) => l(A(e))
110
+ justify: "end",
111
+ render: (e) => n(S(e))
107
112
  }
108
113
  ] : [],
109
114
  {
110
115
  key: "companyTaxes",
111
116
  title: t("tableHeaders.companyTaxes"),
112
- render: (e) => l(q(e))
117
+ justify: "end",
118
+ render: (e) => n(q(e))
113
119
  },
114
120
  {
115
121
  key: "companyBenefits",
116
122
  title: t("tableHeaders.companyBenefits"),
117
- render: (e) => l(J(e))
123
+ justify: "end",
124
+ render: (e) => n(J(e))
118
125
  },
119
126
  {
120
127
  key: "companyPays",
121
128
  title: t("tableHeaders.companyPays"),
122
- render: (e) => l(He(e))
129
+ justify: "end",
130
+ render: (e) => n(xe(e))
123
131
  }
124
132
  ];
125
133
  h && D && te.push({
126
134
  key: "paystubs",
127
135
  title: t("tableHeaders.paystub"),
128
136
  render: (e) => {
129
- const a = !!e.employeeUuid && U.has(e.employeeUuid);
137
+ const a = !!e.employeeUuid && M.has(e.employeeUuid);
130
138
  return /* @__PURE__ */ r(s, { justifyContent: "flex-end", children: /* @__PURE__ */ r(
131
- R,
139
+ F,
132
140
  {
133
141
  "aria-label": t("downloadPaystubLabel"),
134
142
  variant: "tertiary",
@@ -141,7 +149,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
141
149
  ) });
142
150
  }
143
151
  });
144
- const xe = [
152
+ const Pe = [
145
153
  {
146
154
  id: "companyPays",
147
155
  label: t("dataViews.companyPaysTab"),
@@ -150,12 +158,12 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
150
158
  {
151
159
  label: t("dataViews.companyPaysTable"),
152
160
  columns: te,
153
- data: n.employeeCompensations,
154
- pagination: v,
161
+ data: l.employeeCompensations,
162
+ pagination: L,
155
163
  itemMenu: h && !D ? (e) => {
156
- const a = !!e.employeeUuid && U.has(e.employeeUuid);
164
+ const a = !!e.employeeUuid && M.has(e.employeeUuid);
157
165
  return /* @__PURE__ */ r(
158
- R,
166
+ F,
159
167
  {
160
168
  "aria-label": t("downloadPaystubLabel"),
161
169
  variant: "tertiary",
@@ -172,13 +180,13 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
172
180
  t("tableHeaders.footerTotalsLabel"),
173
181
  /* @__PURE__ */ r(y, { variant: "supporting", size: "sm", children: t("tableHeaders.footerTotalsDescription") })
174
182
  ] }),
175
- grossPay: l(Number(n.totals?.grossPay ?? 0)),
183
+ grossPay: n(Number(l.totals?.grossPay ?? 0)),
176
184
  ...g ? {
177
- reimbursements: l(Number(n.totals?.reimbursements ?? 0))
185
+ reimbursements: n(Number(l.totals?.reimbursements ?? 0))
178
186
  } : {},
179
- companyTaxes: l(Number(n.totals?.employerTaxes ?? 0)),
180
- companyBenefits: l(Number(n.totals?.benefits ?? 0)),
181
- companyPays: l(x)
187
+ companyTaxes: n(Number(l.totals?.employerTaxes ?? 0)),
188
+ companyBenefits: n(Number(l.totals?.benefits ?? 0)),
189
+ companyPays: n(x)
182
190
  })
183
191
  }
184
192
  )
@@ -198,7 +206,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
198
206
  first_name: e.firstName,
199
207
  last_name: e.lastName
200
208
  }),
201
- e.excluded && /* @__PURE__ */ r(L, { status: "warning", children: t("skippedBadge") })
209
+ e.excluded && /* @__PURE__ */ r(_, { status: "warning", children: t("skippedBadge") })
202
210
  ] })
203
211
  },
204
212
  {
@@ -208,9 +216,9 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
208
216
  (i) => i.flsaStatus
209
217
  )?.flsaStatus;
210
218
  switch (a) {
211
- case ne.EXEMPT:
219
+ case le.EXEMPT:
212
220
  return t("compensationTypeLabels.exempt");
213
- case ne.NONEXEMPT:
221
+ case le.NONEXEMPT:
214
222
  return t("compensationTypeLabels.nonexempt");
215
223
  default:
216
224
  return a ?? "";
@@ -241,8 +249,8 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
241
249
  ) + ee(e)
242
250
  }
243
251
  ],
244
- data: n.employeeCompensations,
245
- pagination: v
252
+ data: l.employeeCompensations,
253
+ pagination: L
246
254
  }
247
255
  )
248
256
  },
@@ -261,7 +269,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
261
269
  first_name: e.firstName,
262
270
  last_name: e.lastName
263
271
  }),
264
- e.excluded && /* @__PURE__ */ r(L, { status: "warning", children: t("skippedBadge") })
272
+ e.excluded && /* @__PURE__ */ r(_, { status: "warning", children: t("skippedBadge") })
265
273
  ] })
266
274
  },
267
275
  {
@@ -270,11 +278,11 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
270
278
  },
271
279
  {
272
280
  title: t("tableHeaders.grossPay"),
273
- render: (e) => l(Number(e.grossPay ?? 0))
281
+ render: (e) => n(Number(e.grossPay ?? 0))
274
282
  },
275
283
  {
276
284
  title: t("tableHeaders.deductions"),
277
- render: (e) => l(
285
+ render: (e) => n(
278
286
  e.deductions?.reduce(
279
287
  (a, i) => a + Number(i.amount),
280
288
  0
@@ -284,12 +292,12 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
284
292
  ...g ? [
285
293
  {
286
294
  title: t("tableHeaders.reimbursements"),
287
- render: (e) => l(A(e))
295
+ render: (e) => n(S(e))
288
296
  }
289
297
  ] : [],
290
298
  {
291
299
  title: t("tableHeaders.employeeTaxes"),
292
- render: (e) => l(
300
+ render: (e) => n(
293
301
  e.taxes?.reduce(
294
302
  (a, i) => i.employer ? a : a + Number(i.amount),
295
303
  0
@@ -298,7 +306,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
298
306
  },
299
307
  {
300
308
  title: t("tableHeaders.employeeBenefits"),
301
- render: (e) => l(
309
+ render: (e) => n(
302
310
  e.benefits?.reduce(
303
311
  (a, i) => a + Number(i.employeeDeduction ?? 0),
304
312
  0
@@ -307,11 +315,13 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
307
315
  },
308
316
  {
309
317
  title: t("tableHeaders.payment"),
310
- render: (e) => l(Number(e.netPay ?? 0))
318
+ render: (e) => n(
319
+ Number(e.netPay ?? 0) + S(e)
320
+ )
311
321
  }
312
322
  ],
313
- data: n.employeeCompensations,
314
- pagination: v
323
+ data: l.employeeCompensations,
324
+ pagination: L
315
325
  }
316
326
  )
317
327
  },
@@ -332,20 +342,20 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
332
342
  {
333
343
  key: "byYourEmployees",
334
344
  title: t("tableHeaders.byYourEmployees"),
335
- render: (e) => l(w[e]?.employee ?? 0)
345
+ render: (e) => n(v[e]?.employee ?? 0)
336
346
  },
337
347
  {
338
348
  key: "byYourCompany",
339
349
  title: t("tableHeaders.byYourCompany"),
340
- render: (e) => l(w[e]?.employer ?? 0)
350
+ render: (e) => n(v[e]?.employer ?? 0)
341
351
  }
342
352
  ],
343
353
  footer: () => ({
344
354
  taxDescription: /* @__PURE__ */ r(y, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
345
- byYourEmployees: l(Number(n.totals?.employeeTaxes ?? 0)),
346
- byYourCompany: l(Number(n.totals?.employerTaxes ?? 0))
355
+ byYourEmployees: n(Number(l.totals?.employeeTaxes ?? 0)),
356
+ byYourCompany: n(Number(l.totals?.employerTaxes ?? 0))
347
357
  }),
348
- data: Object.keys(w)
358
+ data: Object.keys(v)
349
359
  }
350
360
  ),
351
361
  /* @__PURE__ */ r(
@@ -359,22 +369,22 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
359
369
  },
360
370
  {
361
371
  title: t("tableHeaders.taxesTotal"),
362
- render: ({ value: e }) => l(Number(e))
372
+ render: ({ value: e }) => n(Number(e))
363
373
  }
364
374
  ],
365
375
  data: [
366
- { label: t("directDepositLabel"), value: n.totals?.netPayDebit || "0" },
376
+ { label: t("directDepositLabel"), value: l.totals?.netPayDebit || "0" },
367
377
  ...g ? [
368
378
  {
369
379
  label: t("reimbursementLabel"),
370
- value: n.totals?.reimbursementDebit || "0"
380
+ value: l.totals?.reimbursementDebit || "0"
371
381
  }
372
382
  ] : [],
373
383
  {
374
384
  label: t("garnishmentsLabel"),
375
- value: n.totals?.childSupportDebit || "0"
385
+ value: l.totals?.childSupportDebit || "0"
376
386
  },
377
- { label: t("taxesLabel"), value: n.totals?.taxDebit || "0" }
387
+ { label: t("taxesLabel"), value: l.totals?.taxDebit || "0" }
378
388
  ]
379
389
  }
380
390
  )
@@ -386,7 +396,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
386
396
  T,
387
397
  {
388
398
  onClick: () => {
389
- $(!0);
399
+ G(!0);
390
400
  },
391
401
  variant: "error",
392
402
  isDisabled: H,
@@ -398,7 +408,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
398
408
  /* @__PURE__ */ r(
399
409
  T,
400
410
  {
401
- onClick: S,
411
+ onClick: w,
402
412
  isDisabled: H || b.length > 0 && (b.some(
403
413
  (e) => !ie.includes(e.blockerType || "")
404
414
  ) || b.some(
@@ -408,7 +418,7 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
408
418
  }
409
419
  )
410
420
  ] });
411
- return /* @__PURE__ */ r("div", { ref: _, className: le.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
421
+ return /* @__PURE__ */ r("div", { ref: E, className: ne.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
412
422
  /* @__PURE__ */ o(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: [
413
423
  /* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
414
424
  z,
@@ -416,11 +426,11 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
416
426
  ] }),
417
427
  D && /* @__PURE__ */ r(s, { gap: 8, justifyContent: "flex-end", children: ae })
418
428
  ] }),
419
- !D && /* @__PURE__ */ r(Le, { gridTemplateColumns: "1fr", gap: 8, children: ae }),
429
+ !D && /* @__PURE__ */ r(_e, { gridTemplateColumns: "1fr", gap: 8, children: ae }),
420
430
  f === p.Cancelling ? /* @__PURE__ */ r(se, { title: t("cancellingTitle") }) : f === p.Submitting ? /* @__PURE__ */ r(se, { title: t("loadingTitle"), description: t("loadingDescription") }) : /* @__PURE__ */ o(k, { children: [
421
431
  be,
422
- I.length > 0 && /* @__PURE__ */ r(s, { flexDirection: "column", gap: 16, children: I.map((e, a) => /* @__PURE__ */ r(
423
- F,
432
+ j.length > 0 && /* @__PURE__ */ r(s, { flexDirection: "column", gap: 16, children: j.map((e, a) => /* @__PURE__ */ r(
433
+ U,
424
434
  {
425
435
  label: e.title,
426
436
  status: e.type,
@@ -429,20 +439,20 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
429
439
  },
430
440
  `${e.type}-${e.title}`
431
441
  )) }),
432
- b.length > 0 && M && b.map((e) => {
442
+ b.length > 0 && I && b.map((e) => {
433
443
  const a = e.blockerType || "";
434
444
  return ie.includes(a) ? /* @__PURE__ */ r(
435
- Ve,
445
+ We,
436
446
  {
437
447
  blocker: e,
438
448
  selectedValue: C[a],
439
- onUnblockOptionChange: M,
449
+ onUnblockOptionChange: I,
440
450
  paymentSpeed: pe
441
451
  },
442
452
  a
443
- ) : /* @__PURE__ */ r(We, { blocker: e }, a);
453
+ ) : /* @__PURE__ */ r(Ye, { blocker: e }, a);
444
454
  }),
445
- /* @__PURE__ */ r(j, { as: "h2", styledAs: "h3", children: t(Q ? "payrollSummaryTitleWire" : Z ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
455
+ /* @__PURE__ */ r(R, { as: "h2", styledAs: "h3", children: t(Q ? "payrollSummaryTitleWire" : Z ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
446
456
  Q ? /* @__PURE__ */ r(
447
457
  c,
448
458
  {
@@ -450,13 +460,13 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
450
460
  columns: [
451
461
  {
452
462
  title: t("tableHeaders.totalPayroll"),
453
- render: () => l(x)
463
+ render: () => n(x)
454
464
  },
455
465
  {
456
466
  title: t("tableHeaders.wireAmount"),
457
467
  render: () => {
458
468
  const a = m?.metadata?.wire_in_amount;
459
- return a ? l(Number(a)) : "-";
469
+ return a ? n(Number(a)) : "-";
460
470
  }
461
471
  },
462
472
  {
@@ -480,13 +490,13 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
480
490
  columns: [
481
491
  {
482
492
  title: t("tableHeaders.totalPayroll"),
483
- render: () => l(x)
493
+ render: () => n(x)
484
494
  },
485
495
  {
486
496
  title: t("tableHeaders.debitAmount"),
487
497
  render: () => {
488
- const e = n.totals?.companyDebit;
489
- return l(Number(e ?? 0));
498
+ const e = l.totals?.companyDebit;
499
+ return n(Number(e ?? 0));
490
500
  }
491
501
  },
492
502
  {
@@ -514,11 +524,11 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
514
524
  columns: [
515
525
  {
516
526
  title: t("tableHeaders.totalPayroll"),
517
- render: () => l(x)
527
+ render: () => n(x)
518
528
  },
519
529
  {
520
530
  title: t("tableHeaders.debitAmount"),
521
- render: () => l(Number(n.totals?.companyDebit ?? 0))
531
+ render: () => n(Number(l.totals?.companyDebit ?? 0))
522
532
  },
523
533
  {
524
534
  title: t("tableHeaders.debitAccount"),
@@ -526,11 +536,11 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
526
536
  },
527
537
  {
528
538
  title: t("tableHeaders.debitDate"),
529
- render: () => d.formatShortWithYear(De)
539
+ render: () => d.formatShortWithYear(He)
530
540
  },
531
541
  {
532
542
  title: t("tableHeaders.employeePayDate"),
533
- render: () => d.formatShortWithYear(n.checkDate)
543
+ render: () => d.formatShortWithYear(l.checkDate)
534
544
  }
535
545
  ],
536
546
  data: [{}]
@@ -543,15 +553,15 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
543
553
  onSelectionChange: Te,
544
554
  selectedId: ge,
545
555
  "aria-label": t("dataViews.label"),
546
- tabs: xe
556
+ tabs: Pe
547
557
  }
548
558
  ),
549
- G && /* @__PURE__ */ r(
559
+ $ && /* @__PURE__ */ r(
550
560
  fe,
551
561
  {
552
- isOpen: G,
562
+ isOpen: $,
553
563
  onClose: () => {
554
- $(!1);
564
+ G(!1);
555
565
  },
556
566
  onPrimaryActionClick: de,
557
567
  shouldCloseOnBackdropClick: !0,
@@ -559,13 +569,13 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
559
569
  isDestructive: !0,
560
570
  closeActionLabel: t("declineCancelCta"),
561
571
  title: t(K ? "cancelDialogTitleDismissal" : "cancelDialogTitle", {
562
- startDate: d.formatLong(n.payPeriod?.startDate),
563
- endDate: d.formatLongWithYear(n.payPeriod?.endDate)
572
+ startDate: d.formatLong(l.payPeriod?.startDate),
573
+ endDate: d.formatLongWithYear(l.payPeriod?.endDate)
564
574
  }),
565
575
  children: /* @__PURE__ */ o(s, { gap: 14, flexDirection: "column", children: [
566
576
  /* @__PURE__ */ r(y, { children: t("cancelDialogDescription") }),
567
- Number(n.totals?.netPayDebit ?? 0) > 0 && /* @__PURE__ */ r(y, { children: t("cancelDialogDescriptionDeadline", {
568
- deadline: d.formatWithTime(n.payrollDeadline).time
577
+ Number(l.totals?.netPayDebit ?? 0) > 0 && /* @__PURE__ */ r(y, { children: t("cancelDialogDescriptionDeadline", {
578
+ deadline: De
569
579
  }) })
570
580
  ] })
571
581
  }
@@ -574,6 +584,6 @@ const Ye = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate,
574
584
  ] }) });
575
585
  };
576
586
  export {
577
- it as PayrollOverviewPresentation
587
+ ot as PayrollOverviewPresentation
578
588
  };
579
589
  //# sourceMappingURL=PayrollOverviewPresentation.js.map