@gusto/embedded-react-sdk 0.46.0 → 0.46.3

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 (284) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/dist/components/Common/DataView/DataCards/DataCards.d.ts +2 -1
  3. package/dist/components/Common/DataView/DataCards/DataCards.js +14 -13
  4. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  5. package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
  6. package/dist/components/Common/DataView/DataTable/DataTable.js +85 -80
  7. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  8. package/dist/components/Common/DataView/DataTable/DataTable.module.scss.js +8 -0
  9. package/dist/components/Common/DataView/DataTable/DataTable.module.scss.js.map +1 -0
  10. package/dist/components/Common/DataView/DataView.d.ts +1 -0
  11. package/dist/components/Common/DataView/DataView.js.map +1 -1
  12. package/dist/components/Common/DataView/useDataView.d.ts +10 -1
  13. package/dist/components/Common/DataView/useDataView.js +20 -17
  14. package/dist/components/Common/DataView/useDataView.js.map +1 -1
  15. package/dist/components/Common/DocumentViewer/DocumentViewer.js +10 -10
  16. package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
  17. package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js +9 -9
  18. package/dist/components/Common/PaginationControl/PaginationControl.js +11 -10
  19. package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
  20. package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +1 -1
  21. package/dist/components/Common/UI/DescriptionList/DescriptionList.js +11 -10
  22. package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
  23. package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +4 -4
  24. package/dist/components/Common/UI/Input/InputTypes.d.ts +1 -1
  25. package/dist/components/Common/UI/Input/InputTypes.js.map +1 -1
  26. package/dist/components/Common/UI/NumberInput/NumberInput.js +51 -48
  27. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  28. package/dist/components/Common/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  29. package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +1 -1
  30. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -4
  31. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  32. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -4
  33. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  34. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -6
  35. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  36. package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -4
  37. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  38. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -4
  39. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  40. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js +4 -4
  41. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +5 -6
  42. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  43. package/dist/components/Company/Industry/Context.js +6 -7
  44. package/dist/components/Company/Industry/Context.js.map +1 -1
  45. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -4
  46. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  47. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -4
  48. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  49. package/dist/components/Company/OnboardingOverview/context.js +3 -4
  50. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  51. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
  52. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -4
  53. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  54. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -4
  55. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  56. package/dist/components/Contractor/Address/useAddress.js +5 -6
  57. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  58. package/dist/components/Contractor/Profile/useContractorProfile.js +33 -34
  59. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  60. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.d.ts +9 -0
  61. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js +76 -0
  62. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js.map +1 -0
  63. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js +8 -0
  64. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js.map +1 -0
  65. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js +60 -202
  66. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +1 -1
  67. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.d.ts +25 -0
  68. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +79 -0
  69. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +1 -0
  70. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js +8 -0
  71. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js.map +1 -0
  72. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +18 -0
  73. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +171 -0
  74. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js.map +1 -0
  75. package/dist/components/Employee/Compensation/management/index.d.ts +3 -0
  76. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +6 -1
  77. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js +67 -209
  78. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js.map +1 -1
  79. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +36 -36
  80. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
  81. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +18 -0
  82. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js +169 -0
  83. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js.map +1 -0
  84. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.d.ts +16 -0
  85. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js +36 -30
  86. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js.map +1 -1
  87. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +1 -1
  88. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +4 -4
  89. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
  90. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +213 -191
  91. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
  92. package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +6 -6
  93. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +6 -5
  94. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +162 -131
  95. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
  96. package/dist/components/Employee/Dashboard/BasicDetailsView.js +74 -88
  97. package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
  98. package/dist/components/Employee/Dashboard/Dashboard.js +86 -72
  99. package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
  100. package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +3 -3
  101. package/dist/components/Employee/Dashboard/DashboardComponents.js +138 -101
  102. package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
  103. package/dist/components/Employee/Dashboard/DocumentsView.js +17 -10
  104. package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -1
  105. package/dist/components/Employee/Dashboard/JobAndPayView.js +359 -313
  106. package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
  107. package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js +5 -3
  108. package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js.map +1 -1
  109. package/dist/components/Employee/Dashboard/TaxesView.js +114 -101
  110. package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
  111. package/dist/components/Employee/Dashboard/dashboardStateMachine.js +147 -148
  112. package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
  113. package/dist/components/Employee/Dashboard/getPendingCompensationChanges.d.ts +6 -0
  114. package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js +37 -36
  115. package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js.map +1 -1
  116. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +2 -2
  117. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +34 -35
  118. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -1
  119. package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js +57 -57
  120. package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js.map +1 -1
  121. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.d.ts +14 -5
  122. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js +55 -36
  123. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js.map +1 -1
  124. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js +8 -8
  125. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js +18 -18
  126. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js.map +1 -1
  127. package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js +4 -4
  128. package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.d.ts +3 -3
  129. package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js.map +1 -1
  130. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +3 -4
  131. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  132. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.js +1 -1
  133. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js +37 -40
  134. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js.map +1 -1
  135. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -2
  136. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +64 -71
  137. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
  138. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +2 -0
  139. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js +25 -0
  140. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js.map +1 -0
  141. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +13 -0
  142. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js +37 -0
  143. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js.map +1 -0
  144. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.d.ts +6 -0
  145. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +69 -0
  146. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -0
  147. package/dist/components/Employee/EmployeeListFlow/index.d.ts +3 -0
  148. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
  149. package/dist/components/Employee/HomeAddress/management/HomeAddress.js +15 -12
  150. package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
  151. package/dist/components/Employee/HomeAddress/management/HomeAddressView.d.ts +2 -1
  152. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +170 -157
  153. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
  154. package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js +56 -55
  155. package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js.map +1 -1
  156. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +20 -20
  157. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js.map +1 -1
  158. package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.js +1 -1
  159. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.d.ts +1 -1
  160. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js +4 -4
  161. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js.map +1 -1
  162. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js +8 -8
  163. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +5 -5
  164. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.d.ts +0 -1
  165. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js +11 -12
  166. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js.map +1 -1
  167. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.test.d.ts +1 -0
  168. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.d.ts +6 -1
  169. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +95 -94
  170. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -1
  171. package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
  172. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.d.ts +6 -1
  173. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js +87 -86
  174. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  175. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +18 -18
  176. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -1
  177. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
  178. package/dist/components/Employee/Taxes/useTaxes.js +3 -4
  179. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  180. package/dist/components/Employee/WorkAddress/management/WorkAddress.js +14 -11
  181. package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
  182. package/dist/components/Employee/WorkAddress/management/WorkAddressView.d.ts +2 -1
  183. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +96 -89
  184. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
  185. package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js +61 -60
  186. package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js.map +1 -1
  187. package/dist/components/Employee/exports/employeeManagement.d.ts +2 -0
  188. package/dist/components/Employee/exports/employeeManagement.js +18 -16
  189. package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
  190. package/dist/components/Employee/index.d.ts +2 -0
  191. package/dist/components/Employee/index.js +32 -30
  192. package/dist/components/Employee/index.js.map +1 -1
  193. package/dist/components/Flow/FlowHeader.js +34 -31
  194. package/dist/components/Flow/FlowHeader.js.map +1 -1
  195. package/dist/components/Flow/useFlow.d.ts +12 -0
  196. package/dist/components/Flow/useFlow.js.map +1 -1
  197. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +2 -3
  198. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  199. package/dist/components/Payroll/usePreparedPayrollData.js +2 -3
  200. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  201. package/dist/components/TimeOff/PolicyList/PolicyList.js +92 -69
  202. package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
  203. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +23 -23
  204. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
  205. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +1 -1
  206. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
  207. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js +73 -56
  208. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
  209. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +58 -58
  210. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
  211. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
  212. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +91 -87
  213. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
  214. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +2 -0
  215. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +91 -125
  216. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
  217. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
  218. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +60 -91
  219. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
  220. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.module.scss.js +4 -4
  221. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +0 -16
  222. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +139 -225
  223. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
  224. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +7 -3
  225. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +78 -54
  226. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
  227. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.test.d.ts +1 -0
  228. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +12 -11
  229. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
  230. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +177 -147
  231. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
  232. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js +34 -34
  233. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
  234. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
  235. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +38 -36
  236. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
  237. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +2 -0
  238. package/dist/helpers/breadcrumbHelpers.d.ts +1 -1
  239. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  240. package/dist/helpers/federalEin.d.ts +1 -0
  241. package/dist/helpers/federalEin.js.map +1 -1
  242. package/dist/helpers/mask.d.ts +8 -4
  243. package/dist/helpers/mask.js.map +1 -1
  244. package/dist/helpers/rem.d.ts +2 -1
  245. package/dist/helpers/rem.js.map +1 -1
  246. package/dist/hooks/useAsyncError.d.ts +1 -0
  247. package/dist/hooks/useAsyncError.js.map +1 -1
  248. package/dist/hooks/useForkRef/useForkRef.d.ts +1 -0
  249. package/dist/hooks/useForkRef/useForkRef.js.map +1 -1
  250. package/dist/i18n/I18n.d.ts +9 -1
  251. package/dist/i18n/I18n.js.map +1 -1
  252. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +14 -14
  253. package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js +16 -22
  254. package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js.map +1 -1
  255. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +17 -15
  256. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -1
  257. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +9 -9
  258. package/dist/i18n/en/Employee.Compensation.json.js +66 -58
  259. package/dist/i18n/en/Employee.Compensation.json.js.map +1 -1
  260. package/dist/i18n/en/Employee.Dashboard.json.js +28 -24
  261. package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -1
  262. package/dist/i18n/en/Employee.HomeAddress.Management.json.js +12 -10
  263. package/dist/i18n/en/Employee.HomeAddress.Management.json.js.map +1 -1
  264. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +32 -30
  265. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -1
  266. package/dist/i18n/en/Employee.PaymentMethod.json.js +25 -25
  267. package/dist/i18n/en/Employee.StateTaxes.json.js +12 -10
  268. package/dist/i18n/en/Employee.StateTaxes.json.js.map +1 -1
  269. package/dist/i18n/en/Employee.WorkAddress.Management.json.js +16 -14
  270. package/dist/i18n/en/Employee.WorkAddress.Management.json.js.map +1 -1
  271. package/dist/i18n/en/common.json.d.ts +14 -0
  272. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js +33 -32
  273. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
  274. package/dist/partner-hook-utils/types.d.ts +4 -0
  275. package/dist/shared/constants.d.ts +2 -0
  276. package/dist/shared/constants.js +13 -12
  277. package/dist/shared/constants.js.map +1 -1
  278. package/dist/style.css +1 -1
  279. package/dist/types/hooks.d.ts +1 -1
  280. package/dist/types/i18next.d.ts +30 -29
  281. package/dist/types/observability.d.ts +1 -1
  282. package/docs/reference/endpoint-inventory.json +24 -8
  283. package/package.json +30 -27
  284. package/dist/components/Employee/Dashboard/CompensationCard.d.ts +0 -13
@@ -1,39 +1,40 @@
1
- import { jsxs as r, jsx as e, Fragment as V } from "react/jsx-runtime";
2
- import { useState as I, useRef as Re, useLayoutEffect as ke, useMemo as A } from "react";
3
- import { useTranslation as O, Trans as w } from "react-i18next";
4
- import { useWatch as Te } from "react-hook-form";
5
- import { getPendingFutureHomeAddress as Pe, formatPendingHomeAddressLine as z } from "./getPendingFutureHomeAddress.js";
6
- import Ie from "../../../../assets/icons/house.svg.js";
7
- import Ae from "../../../../assets/icons/pencil.svg.js";
8
- import we from "../../../../assets/icons/trashcan.svg.js";
1
+ import { jsxs as r, jsx as e, Fragment as z } from "react/jsx-runtime";
2
+ import { useState as I, useRef as Te, useLayoutEffect as Pe, useMemo as A } from "react";
3
+ import { useTranslation as Z, Trans as L } from "react-i18next";
4
+ import { useWatch as Ie } from "react-hook-form";
5
+ import { getPendingFutureHomeAddress as Ae, formatPendingHomeAddressLine as j } from "./getPendingFutureHomeAddress.js";
6
+ import Le from "../../../../assets/icons/house.svg.js";
7
+ import we from "../../../../assets/icons/pencil.svg.js";
8
+ import Fe from "../../../../assets/icons/trashcan.svg.js";
9
9
  import { HomeAddressErrorCodes as a } from "../../Profile/shared/useHomeAddressForm/homeAddressSchema.js";
10
- import { SDKFormProvider as Z } from "../../../../partner-hook-utils/form/SDKFormProvider.js";
11
- import { Flex as s, FlexItem as Le } from "../../../Common/Flex/Flex.js";
12
- import { Grid as j } from "../../../Common/Grid/Grid.js";
13
- import { EmptyData as Fe } from "../../../Common/EmptyData/EmptyData.js";
14
- import { useComponentContext as Y } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
15
- import { formatDateLongWithYear as E, normalizeToDate as Ue, addDays as We } from "../../../../helpers/dateFormatting.js";
16
- import { formatStreetForDisplay as K, getCityStateZip as $ } from "../../../../helpers/formattedStrings.js";
17
- import { HamburgerMenu as He } from "../../../Common/HamburgerMenu/HamburgerMenu.js";
18
- import { useDataView as Be } from "../../../Common/DataView/useDataView.js";
19
- import { DataView as Qe } from "../../../Common/DataView/DataView.js";
20
- function q({
10
+ import { SDKFormProvider as K } from "../../../../partner-hook-utils/form/SDKFormProvider.js";
11
+ import { Flex as s, FlexItem as He } from "../../../Common/Flex/Flex.js";
12
+ import { Grid as $ } from "../../../Common/Grid/Grid.js";
13
+ import { EmptyData as Ue } from "../../../Common/EmptyData/EmptyData.js";
14
+ import { ActionsLayout as We } from "../../../Common/ActionsLayout/ActionsLayout.js";
15
+ import { useComponentContext as N } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
16
+ import { formatDateLongWithYear as x, normalizeToDate as Be, addDays as Ve } from "../../../../helpers/dateFormatting.js";
17
+ import { formatStreetForDisplay as q, getCityStateZip as Y } from "../../../../helpers/formattedStrings.js";
18
+ import { HamburgerMenu as Qe } from "../../../Common/HamburgerMenu/HamburgerMenu.js";
19
+ import { useDataView as Oe } from "../../../Common/DataView/useDataView.js";
20
+ import { DataView as ze } from "../../../Common/DataView/DataView.js";
21
+ function G({
21
22
  CourtesyWithholding: u,
22
23
  formHook: m,
23
- tHa: c
24
+ tHa: d
24
25
  }) {
25
- const y = Y(), { control: L } = m.form.hookFormInternals.formMethods, f = Te({ control: L, name: "courtesyWithholding" });
26
- return /* @__PURE__ */ r(V, { children: [
26
+ const y = N(), { control: w } = m.form.hookFormInternals.formMethods, f = Ie({ control: w, name: "courtesyWithholding" });
27
+ return /* @__PURE__ */ r(z, { children: [
27
28
  /* @__PURE__ */ e(
28
29
  u,
29
30
  {
30
- label: c("courtesyWithholdingLabel"),
31
- description: /* @__PURE__ */ r(V, { children: [
32
- c("courtesyWithholdingDescription"),
31
+ label: d("courtesyWithholdingLabel"),
32
+ description: /* @__PURE__ */ r(z, { children: [
33
+ d("courtesyWithholdingDescription"),
33
34
  /* @__PURE__ */ e(
34
- w,
35
+ L,
35
36
  {
36
- t: c,
37
+ t: d,
37
38
  i18nKey: "learnMoreCta",
38
39
  components: {
39
40
  LearnMoreLink: /* @__PURE__ */ e(y.Link, {})
@@ -43,111 +44,113 @@ function q({
43
44
  ] })
44
45
  }
45
46
  ),
46
- f ? /* @__PURE__ */ e(y.Alert, { label: c("withholdingTitle"), status: "warning", children: /* @__PURE__ */ e(w, { t: c, i18nKey: "withholdingNote" }) }) : null
47
+ f ? /* @__PURE__ */ e(y.Alert, { label: d("withholdingTitle"), status: "warning", children: /* @__PURE__ */ e(L, { t: d, i18nKey: "withholdingNote" }) }) : null
47
48
  ] });
48
49
  }
49
- function at({
50
+ function ct({
50
51
  editHomeAddressForm: u,
51
52
  createHomeAddressForm: m,
52
- employeeHomeAddresses: c,
53
+ employeeHomeAddresses: d,
53
54
  employeeDisplayName: y,
54
- editingHomeAddressUuid: L,
55
+ editingHomeAddressUuid: w,
55
56
  onEditAddressTargetChange: f,
56
- onSaved: G,
57
- onConfirmDelete: N,
58
- isDeletePending: _ = !1
57
+ onSaved: _,
58
+ onConfirmDelete: J,
59
+ onBack: X,
60
+ isDeletePending: ee = !1
59
61
  }) {
60
- const { t } = O("Employee.HomeAddress.Management"), { t: o } = O("Employee.HomeAddress"), n = Y(), [l, C] = I(null), [h, S] = I(null), R = Re(null), [k, F] = I(void 0);
61
- ke(() => {
62
+ const { t } = Z("Employee.HomeAddress.Management"), { t: o } = Z("Employee.HomeAddress"), n = N(), [l, C] = I(null), [h, S] = I(null), k = Te(null), [M, F] = I(void 0);
63
+ Pe(() => {
62
64
  if (!l) {
63
65
  F(void 0);
64
66
  return;
65
67
  }
66
68
  const i = () => {
67
- F(R.current ?? void 0);
69
+ F(k.current ?? void 0);
68
70
  };
69
- if (i(), R.current == null) {
70
- const d = requestAnimationFrame(i);
71
+ if (i(), k.current == null) {
72
+ const c = requestAnimationFrame(i);
71
73
  return () => {
72
- cancelAnimationFrame(d);
74
+ cancelAnimationFrame(c);
73
75
  };
74
76
  }
75
77
  }, [l]);
76
78
  const {
77
- data: { homeAddress: g },
79
+ data: { homeAddress: p },
80
+ status: H,
81
+ actions: { onSubmit: te },
82
+ form: ie
83
+ } = u, g = d, {
78
84
  status: U,
79
- actions: { onSubmit: J },
80
- form: X
81
- } = u, p = c, {
82
- status: W,
83
- actions: { onSubmit: ee },
84
- form: te
85
+ actions: { onSubmit: ne },
86
+ form: oe
85
87
  } = m, {
86
88
  Fields: {
87
- Street1: ie,
88
- Street2: ne,
89
- City: oe,
90
- State: re,
91
- Zip: ae,
92
- CourtesyWithholding: se
89
+ Street1: re,
90
+ Street2: ae,
91
+ City: se,
92
+ State: le,
93
+ Zip: de,
94
+ CourtesyWithholding: ce,
95
+ EffectiveDate: W
93
96
  }
94
- } = X, {
97
+ } = ie, {
95
98
  Fields: {
96
- Street1: le,
97
- Street2: de,
98
- City: ce,
99
- State: ue,
100
- Zip: me,
101
- CourtesyWithholding: fe,
102
- EffectiveDate: H
99
+ Street1: ue,
100
+ Street2: me,
101
+ City: fe,
102
+ State: he,
103
+ Zip: pe,
104
+ CourtesyWithholding: ge,
105
+ EffectiveDate: B
103
106
  }
104
- } = te, B = {
107
+ } = oe, V = {
105
108
  [a.REQUIRED]: o("validations.zip"),
106
109
  [a.INVALID_ZIP]: o("validations.zip")
107
- }, he = {
110
+ }, Q = {
108
111
  [a.REQUIRED]: t("form.startDateRequired")
109
- }, M = A(
110
- () => Pe(p),
111
- [p]
112
- ), Q = A(() => {
113
- if (!(!h || !p))
114
- return p.find((i) => i.uuid === h);
115
- }, [h, p]), ge = A(() => {
112
+ }, b = A(
113
+ () => Ae(g),
114
+ [g]
115
+ ), O = A(() => {
116
+ if (!(!h || !g))
117
+ return g.find((i) => i.uuid === h);
118
+ }, [h, g]), ve = A(() => {
116
119
  const i = y.trim();
117
120
  return i ? `${i}'s` : t("changePendingPossessiveFallback");
118
- }, [y, t]), b = [...p ?? []].sort((i, d) => {
119
- const v = i.effectiveDate?.toString() ?? "", D = d.effectiveDate?.toString() ?? "";
121
+ }, [y, t]), E = [...g ?? []].sort((i, c) => {
122
+ const v = i.effectiveDate?.toString() ?? "", D = c.effectiveDate?.toString() ?? "";
120
123
  return !v && !D ? 0 : v ? D ? v.localeCompare(D) : -1 : 1;
121
- }), pe = [...b.filter((i) => i.active !== !0)].reverse(), ve = (i) => {
122
- const d = b.findIndex((Ee) => Ee.uuid === i.uuid);
123
- if (d === -1 || d >= b.length - 1) return "—";
124
- const v = b[d + 1]?.effectiveDate;
124
+ }), De = [...E.filter((i) => i.active !== !0)].reverse(), ye = (i) => {
125
+ const c = E.findIndex((Re) => Re.uuid === i.uuid);
126
+ if (c === -1 || c >= E.length - 1) return "—";
127
+ const v = E[c + 1]?.effectiveDate;
125
128
  if (!v) return "—";
126
- const D = Ue(v.toString());
129
+ const D = Be(v.toString());
127
130
  if (!D) return "—";
128
- const P = We(D, -1), Me = P.getFullYear(), be = String(P.getMonth() + 1).padStart(2, "0"), xe = String(P.getDate()).padStart(2, "0");
129
- return E(`${Me}-${be}-${xe}`);
130
- }, De = Be({
131
- data: pe,
131
+ const P = Ve(D, -1), Ee = P.getFullYear(), xe = String(P.getMonth() + 1).padStart(2, "0"), ke = String(P.getDate()).padStart(2, "0");
132
+ return x(`${Ee}-${xe}-${ke}`);
133
+ }, Ce = Oe({
134
+ data: De,
132
135
  columns: [
133
136
  {
134
137
  title: t("columns.address"),
135
138
  render: (i) => /* @__PURE__ */ r(s, { flexDirection: "column", gap: 0, children: [
136
- /* @__PURE__ */ e(n.Text, { weight: "medium", children: K(i) }),
137
- /* @__PURE__ */ e(n.Text, { variant: "supporting", children: $(i) })
139
+ /* @__PURE__ */ e(n.Text, { weight: "medium", children: q(i) }),
140
+ /* @__PURE__ */ e(n.Text, { variant: "supporting", children: Y(i) })
138
141
  ] })
139
142
  },
140
143
  {
141
144
  title: t("columns.startDate"),
142
- render: (i) => i.effectiveDate ? E(i.effectiveDate.toString()) : "—"
145
+ render: (i) => i.effectiveDate ? x(i.effectiveDate.toString()) : "—"
143
146
  },
144
147
  {
145
148
  title: t("columns.endDate"),
146
- render: (i) => ve(i)
149
+ render: (i) => ye(i)
147
150
  }
148
151
  ],
149
152
  itemMenu: (i) => /* @__PURE__ */ e(
150
- He,
153
+ Qe,
151
154
  {
152
155
  triggerLabel: t("rowMenuAriaLabel"),
153
156
  items: [
@@ -156,48 +159,48 @@ function at({
156
159
  onClick: () => {
157
160
  f(i.uuid), C("edit");
158
161
  },
159
- icon: /* @__PURE__ */ e(Ae, { "aria-hidden": !0 })
162
+ icon: /* @__PURE__ */ e(we, { "aria-hidden": !0 })
160
163
  },
161
164
  {
162
165
  label: t("rowDelete"),
163
166
  onClick: () => {
164
167
  i.active !== !0 && S(i.uuid);
165
168
  },
166
- icon: /* @__PURE__ */ e(we, { "aria-hidden": !0 })
169
+ icon: /* @__PURE__ */ e(Fe, { "aria-hidden": !0 })
167
170
  }
168
171
  ]
169
172
  }
170
173
  ),
171
174
  emptyState: () => /* @__PURE__ */ e("div", { "data-testid": "home-address-history-empty", children: /* @__PURE__ */ e(
172
- Fe,
175
+ Ue,
173
176
  {
174
- icon: /* @__PURE__ */ e(Ie, { "aria-hidden": !0 }),
177
+ icon: /* @__PURE__ */ e(Le, { "aria-hidden": !0 }),
175
178
  title: t("historyEmptyTitle"),
176
179
  description: t("historyEmptyDescription")
177
180
  }
178
181
  ) })
179
- }), T = () => {
180
- C(null), f(void 0);
181
- }, ye = async () => {
182
+ }), R = () => {
183
+ C(null), f(void 0), u.form.hookFormInternals.formMethods.reset(void 0, {
184
+ keepDirtyValues: !1
185
+ }), m.form.hookFormInternals.formMethods.reset(void 0, {
186
+ keepDirtyValues: !1
187
+ });
188
+ }, Se = async () => {
182
189
  if (!h)
183
190
  return;
184
- await N(h) && S(null);
185
- }, x = l === "edit" ? {
186
- onSubmit: J,
187
- formMethods: u.form.hookFormInternals.formMethods,
188
- isPending: U.isPending
191
+ await J(h) && S(null);
192
+ }, T = l === "edit" ? {
193
+ onSubmit: te,
194
+ isPending: H.isPending
189
195
  } : l === "create" ? {
190
- onSubmit: ee,
191
- formMethods: m.form.hookFormInternals.formMethods,
192
- isPending: W.isPending
193
- } : null, Ce = async () => {
194
- if (!x)
196
+ onSubmit: ne,
197
+ isPending: U.isPending
198
+ } : null, Me = async () => {
199
+ if (!T)
195
200
  return;
196
- const i = await x.onSubmit();
197
- i && G(i);
198
- const d = Object.keys(x.formMethods.formState.errors).length > 0;
199
- (i || !d) && T();
200
- }, Se = x?.isPending ?? !1;
201
+ const i = await T.onSubmit();
202
+ i && (_(i), R());
203
+ }, be = T?.isPending ?? !1;
201
204
  return /* @__PURE__ */ r(s, { flexDirection: "column", gap: 24, children: [
202
205
  /* @__PURE__ */ r(s, { flexDirection: "column", gap: 4, alignItems: "flex-start", children: [
203
206
  /* @__PURE__ */ e(n.Heading, { as: "h1", styledAs: "h2", children: t("title") }),
@@ -210,14 +213,14 @@ function at({
210
213
  n.BoxHeader,
211
214
  {
212
215
  title: t("currentSectionTitle"),
213
- action: g ? /* @__PURE__ */ e(
216
+ action: p ? /* @__PURE__ */ e(
214
217
  n.Button,
215
218
  {
216
219
  variant: "secondary",
217
220
  onClick: () => {
218
221
  f(void 0), C("edit");
219
222
  },
220
- isLoading: U.isPending,
223
+ isLoading: H.isPending,
221
224
  children: t("editCta")
222
225
  }
223
226
  ) : void 0
@@ -230,24 +233,24 @@ function at({
230
233
  onClick: () => {
231
234
  f(void 0), C("create");
232
235
  },
233
- isLoading: W.isPending,
236
+ isLoading: U.isPending,
234
237
  children: t("changeCta")
235
238
  }
236
239
  ),
237
240
  children: /* @__PURE__ */ r(s, { flexDirection: "column", gap: 16, children: [
238
- g ? /* @__PURE__ */ r(s, { flexDirection: "column", gap: 4, children: [
239
- /* @__PURE__ */ r(Le, { children: [
240
- /* @__PURE__ */ e(n.Text, { weight: "medium", children: K(g) }),
241
- /* @__PURE__ */ e(n.Text, { weight: "medium", children: $(g) })
241
+ p ? /* @__PURE__ */ r(s, { flexDirection: "column", gap: 4, children: [
242
+ /* @__PURE__ */ r(He, { children: [
243
+ /* @__PURE__ */ e(n.Text, { weight: "medium", children: q(p) }),
244
+ /* @__PURE__ */ e(n.Text, { weight: "medium", children: Y(p) })
242
245
  ] }),
243
- g.effectiveDate ? /* @__PURE__ */ e(n.Text, { variant: "supporting", children: t("currentSince", {
244
- date: E(g.effectiveDate.toString())
246
+ p.effectiveDate ? /* @__PURE__ */ e(n.Text, { variant: "supporting", children: t("currentSince", {
247
+ date: x(p.effectiveDate.toString())
245
248
  }) }) : null
246
249
  ] }) : /* @__PURE__ */ e(n.Text, { children: o("formTitle") }),
247
- M ? /* @__PURE__ */ e(n.Alert, { status: "warning", label: t("changePendingTitle"), children: /* @__PURE__ */ e(n.Text, { variant: "supporting", children: t("changePendingDescription", {
248
- possessiveLabel: ge,
249
- newAddress: z(M),
250
- effectiveDate: M.effectiveDate ? E(M.effectiveDate.toString()) : "—",
250
+ b ? /* @__PURE__ */ e(n.Alert, { status: "warning", label: t("changePendingTitle"), children: /* @__PURE__ */ e(n.Text, { variant: "supporting", children: t("changePendingDescription", {
251
+ possessiveLabel: ve,
252
+ newAddress: j(b),
253
+ effectiveDate: b.effectiveDate ? x(b.effectiveDate.toString()) : "—",
251
254
  interpolation: { escapeValue: !1 }
252
255
  }) }) }) : null
253
256
  ] })
@@ -255,22 +258,23 @@ function at({
255
258
  ),
256
259
  /* @__PURE__ */ r(s, { flexDirection: "column", gap: 12, children: [
257
260
  /* @__PURE__ */ e(n.Heading, { as: "h2", styledAs: "h4", children: t("historySectionTitle") }),
258
- /* @__PURE__ */ e(Qe, { label: t("historySectionTitle"), ...De })
261
+ /* @__PURE__ */ e(ze, { label: t("historySectionTitle"), ...Ce })
259
262
  ] }),
263
+ /* @__PURE__ */ e(We, { children: /* @__PURE__ */ e(n.Button, { variant: "secondary", onClick: X, children: t("backCta") }) }),
260
264
  /* @__PURE__ */ e(
261
265
  n.Modal,
262
266
  {
263
267
  isOpen: l !== null,
264
- onClose: T,
268
+ onClose: R,
265
269
  shouldCloseOnBackdropClick: !1,
266
- containerRef: R,
270
+ containerRef: k,
267
271
  footer: /* @__PURE__ */ r(s, { flexDirection: "row", gap: 12, justifyContent: "flex-end", children: [
268
272
  /* @__PURE__ */ e(
269
273
  n.Button,
270
274
  {
271
275
  variant: "secondary",
272
276
  onClick: () => {
273
- T();
277
+ R();
274
278
  },
275
279
  children: t("cancelCta")
276
280
  }
@@ -280,9 +284,9 @@ function at({
280
284
  {
281
285
  variant: "primary",
282
286
  onClick: () => {
283
- Ce();
287
+ Me();
284
288
  },
285
- isLoading: Se,
289
+ isLoading: be,
286
290
  children: t("submitCta")
287
291
  }
288
292
  )
@@ -292,8 +296,8 @@ function at({
292
296
  /* @__PURE__ */ e(n.Heading, { as: "h2", children: t(l === "edit" ? "editModalTitle" : "createModalTitle") }),
293
297
  /* @__PURE__ */ e(n.Text, { variant: "supporting", children: t(l === "edit" ? "editModalDescription" : "createModalDescription") })
294
298
  ] }),
295
- l === "edit" ? /* @__PURE__ */ e(Z, { formHookResult: u, children: /* @__PURE__ */ r(
296
- j,
299
+ l === "edit" ? /* @__PURE__ */ e(K, { formHookResult: u, children: /* @__PURE__ */ r(
300
+ $,
297
301
  {
298
302
  gridTemplateColumns: {
299
303
  base: "1fr",
@@ -301,8 +305,17 @@ function at({
301
305
  },
302
306
  gap: 20,
303
307
  children: [
308
+ W ? /* @__PURE__ */ e(
309
+ W,
310
+ {
311
+ label: t("columns.startDate"),
312
+ description: t("startDateHelper"),
313
+ validationMessages: Q,
314
+ portalContainer: M
315
+ }
316
+ ) : null,
304
317
  /* @__PURE__ */ e(
305
- ie,
318
+ re,
306
319
  {
307
320
  label: o("street1"),
308
321
  validationMessages: {
@@ -311,7 +324,7 @@ function at({
311
324
  }
312
325
  ),
313
326
  /* @__PURE__ */ e(
314
- ne,
327
+ ae,
315
328
  {
316
329
  label: o("street2"),
317
330
  validationMessages: {
@@ -320,7 +333,7 @@ function at({
320
333
  }
321
334
  ),
322
335
  /* @__PURE__ */ e(
323
- oe,
336
+ se,
324
337
  {
325
338
  label: o("city"),
326
339
  validationMessages: {
@@ -329,20 +342,20 @@ function at({
329
342
  }
330
343
  ),
331
344
  /* @__PURE__ */ e(
332
- re,
345
+ le,
333
346
  {
334
347
  label: o("state"),
335
348
  validationMessages: {
336
349
  [a.REQUIRED]: o("validations.state")
337
350
  },
338
- portalContainer: k
351
+ portalContainer: M
339
352
  }
340
353
  ),
341
- /* @__PURE__ */ e(ae, { label: o("zip"), validationMessages: B }),
354
+ /* @__PURE__ */ e(de, { label: o("zip"), validationMessages: V }),
342
355
  /* @__PURE__ */ e(
343
- q,
356
+ G,
344
357
  {
345
- CourtesyWithholding: se,
358
+ CourtesyWithholding: ce,
346
359
  formHook: u,
347
360
  tHa: o
348
361
  }
@@ -350,8 +363,8 @@ function at({
350
363
  ]
351
364
  }
352
365
  ) }) : null,
353
- l === "create" ? /* @__PURE__ */ e(Z, { formHookResult: m, children: /* @__PURE__ */ r(
354
- j,
366
+ l === "create" ? /* @__PURE__ */ e(K, { formHookResult: m, children: /* @__PURE__ */ r(
367
+ $,
355
368
  {
356
369
  gridTemplateColumns: {
357
370
  base: "1fr",
@@ -359,17 +372,17 @@ function at({
359
372
  },
360
373
  gap: 20,
361
374
  children: [
362
- H ? /* @__PURE__ */ e(
363
- H,
375
+ B ? /* @__PURE__ */ e(
376
+ B,
364
377
  {
365
378
  label: t("columns.startDate"),
366
379
  description: t("startDateHelper"),
367
- validationMessages: he,
368
- portalContainer: k
380
+ validationMessages: Q,
381
+ portalContainer: M
369
382
  }
370
383
  ) : null,
371
384
  /* @__PURE__ */ e(
372
- le,
385
+ ue,
373
386
  {
374
387
  label: o("street1"),
375
388
  validationMessages: {
@@ -378,7 +391,7 @@ function at({
378
391
  }
379
392
  ),
380
393
  /* @__PURE__ */ e(
381
- de,
394
+ me,
382
395
  {
383
396
  label: o("street2"),
384
397
  validationMessages: {
@@ -387,7 +400,7 @@ function at({
387
400
  }
388
401
  ),
389
402
  /* @__PURE__ */ e(
390
- ce,
403
+ fe,
391
404
  {
392
405
  label: o("city"),
393
406
  validationMessages: {
@@ -396,20 +409,20 @@ function at({
396
409
  }
397
410
  ),
398
411
  /* @__PURE__ */ e(
399
- ue,
412
+ he,
400
413
  {
401
414
  label: o("state"),
402
415
  validationMessages: {
403
416
  [a.REQUIRED]: o("validations.state")
404
417
  },
405
- portalContainer: k
418
+ portalContainer: M
406
419
  }
407
420
  ),
408
- /* @__PURE__ */ e(me, { label: o("zip"), validationMessages: B }),
421
+ /* @__PURE__ */ e(pe, { label: o("zip"), validationMessages: V }),
409
422
  /* @__PURE__ */ e(
410
- q,
423
+ G,
411
424
  {
412
- CourtesyWithholding: fe,
425
+ CourtesyWithholding: ge,
413
426
  formHook: m,
414
427
  tHa: o
415
428
  }
@@ -444,22 +457,22 @@ function at({
444
457
  {
445
458
  variant: "error",
446
459
  onClick: () => {
447
- ye();
460
+ Se();
448
461
  },
449
- isLoading: _,
462
+ isLoading: ee,
450
463
  children: t("deleteModalConfirmCta")
451
464
  }
452
465
  )
453
466
  ] }),
454
467
  children: /* @__PURE__ */ r(s, { flexDirection: "column", gap: 16, children: [
455
468
  /* @__PURE__ */ e(n.Heading, { as: "h2", children: t("deleteModalTitle") }),
456
- /* @__PURE__ */ e(n.Text, { variant: "supporting", children: Q ? /* @__PURE__ */ e(
457
- w,
469
+ /* @__PURE__ */ e(n.Text, { variant: "supporting", children: O ? /* @__PURE__ */ e(
470
+ L,
458
471
  {
459
472
  t,
460
473
  i18nKey: "deleteModalDescription",
461
474
  values: {
462
- address: z(Q)
475
+ address: j(O)
463
476
  },
464
477
  components: {
465
478
  strong: /* @__PURE__ */ e(n.Text, { weight: "medium", as: "span" })
@@ -473,6 +486,6 @@ function at({
473
486
  ] });
474
487
  }
475
488
  export {
476
- at as HomeAddressView
489
+ ct as HomeAddressView
477
490
  };
478
491
  //# sourceMappingURL=HomeAddressView.js.map