@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 +1 @@
1
- {"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["/// <reference types=\"vite/client\" />\nimport { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\nexport const defaultNS = 'common'\n\nconst translationLoaders = import.meta.glob<Record<string, string>>('./*/*.json', {\n import: 'default',\n})\n\nfunction resolveTranslationLoader(lng: string | undefined, ns: string) {\n const language = lng ?? 'en'\n const primaryPath = `./${language}/${ns}.json`\n const load =\n translationLoaders[primaryPath as keyof typeof translationLoaders] ??\n translationLoaders[`./en/${ns}.json` as keyof typeof translationLoaders]\n return load\n}\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n * @param lng(string): resource language\n * @param ns(string): Namespace/name of the component/resource\n * @returns Promise<Translation resource>\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const load = resolveTranslationLoader(lng, ns)\n if (!load) {\n isError = true\n isLoading = false\n return\n }\n resource = await load()\n isLoading = false\n } catch {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n * @param @private {string} ns - Namespace - should match component name exactly - not exposed to consumers\n */\nexport const useI18n = (\n namespaces:\n | keyof CustomTypeOptions['resources']\n | Array<keyof CustomTypeOptions['resources']>\n | null,\n) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!namespaces) return\n const nsMap = Array.isArray(namespaces) ? namespaces : [namespaces]\n for (const ns of nsMap) {\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(\n i18nInstance.resolvedLanguage ?? 'en',\n ns,\n resource,\n true,\n false,\n ) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n }\n}\n\n//Used by individual components to override their dictionaries with partner provided resources\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","translationLoaders","m","resolveTranslationLoader","lng","ns","primaryPath","resourceCache","LRUCache","loadResource","isLoading","isError","resource","promise","load","useI18n","namespaces","i18nInstance","useTranslation","nsMap","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;AAMO,MAAMA,IAAY,UAEnBC,IAAqB,uBAAA,OAAA;AAAA,EAAA,+BAAA,MAAA,OAAA,gCAAA,EAAA,KAAA,CAAAC,MAAAA,EAAA,OAAA;AAAA,EAAA,qCAAA,MAAA,OAAA,sCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,iCAAA,MAAA,OAAA,kCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,kCAAA,MAAA,OAAA,mCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,kCAAA,MAAA,OAAA,mCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,8BAAA,MAAA,OAAA,+BAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,+BAAA,MAAA,OAAA,gCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,wCAAA,MAAA,OAAA,yCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,iCAAA,MAAA,OAAA,kCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,mCAAA,MAAA,OAAA,oCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,gCAAA,MAAA,OAAA,iCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,iDAAA,MAAA,OAAA,kDAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,2CAAA,MAAA,OAAA,4CAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,2CAAA,MAAA,OAAA,4CAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAA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MAAAE,IAAW,MAAME,EAAA,GACjBJ,IAAY;AAAA,IACd,QAAQ;AACN,MAAAC,IAAU,IACVD,IAAY;AAAA,IACd;AAAA,EACF,GACgB;AAChB,SAAO,MAAM;AACX,QAAIA;AAEF,YAAMG;QACGF;AACT,YAAM,IAAI,MAAM,4CAA4CN,CAAE,EAAE;AAEhE,WAAOO;AAAA,EAEX;AACF,GAMaG,IAAU,CACrBC,MAIG;AAEH,QAAM,EAAE,MAAMC,EAAA,IAAiBC,EAAA;AAE/B,MAAI,CAACF,EAAY;AACjB,QAAMG,IAAQ,MAAM,QAAQH,CAAU,IAAIA,IAAa,CAACA,CAAU;AAClE,aAAWX,KAAMc,GAAO;AACtB,UAAMC,IAAM,GAAGH,EAAa,gBAAgB,IAAIZ,CAAE;AAElD,IAAIE,EAAc,IAAIa,CAAG,MAAM,QAE7Bb,EAAc,IAAIa,GAAKX,EAAa,EAAE,KAAKQ,EAAa,kBAAkB,IAAAZ,EAAA,CAAQ,CAAC;AAGrF,UAAMgB,IAAiBd,EAAc,IAAIa,CAAG;AAC5C,QAAIC,GAAgB;AAClB,YAAMT,IAAWS,EAAA;AACjB,MAAAJ,EAAa;AAAA,QACXA,EAAa,oBAAoB;AAAA,QACjCZ;AAAA,QACAO;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAEJ;AAAA,EACF;AACF,GAGaU,IAAyB,CACpCjB,GACAO,MACG;AACH,QAAM,EAAE,MAAMK,EAAA,IAAiBC,EAAA;AAC/B,MAAIN;AACF,eAAWW,KAAQX;AACjB,MAAAK,EAAa,kBAAkBM,GAAMlB,GAAIO,EAASW,CAAI,GAAG,IAAM,EAAI;AAGzE;"}
1
+ {"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["/// <reference types=\"vite/client\" />\nimport { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\n/** @internal */\nexport const defaultNS = 'common'\n\nconst translationLoaders = import.meta.glob<Record<string, string>>('./*/*.json', {\n import: 'default',\n})\n\nfunction resolveTranslationLoader(lng: string | undefined, ns: string) {\n const language = lng ?? 'en'\n const primaryPath = `./${language}/${ns}.json`\n const load =\n translationLoaders[primaryPath as keyof typeof translationLoaders] ??\n translationLoaders[`./en/${ns}.json` as keyof typeof translationLoaders]\n return load\n}\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n *\n * @param lng - resource language\n * @param ns - Namespace/name of the component/resource\n * @returns translation resource\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const load = resolveTranslationLoader(lng, ns)\n if (!load) {\n isError = true\n isLoading = false\n return\n }\n resource = await load()\n isLoading = false\n } catch {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n *\n * @param ns - Namespace - should match component name exactly - not exposed to consumers\n * @internal\n */\nexport const useI18n = (\n namespaces:\n | keyof CustomTypeOptions['resources']\n | Array<keyof CustomTypeOptions['resources']>\n | null,\n) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!namespaces) return\n const nsMap = Array.isArray(namespaces) ? namespaces : [namespaces]\n for (const ns of nsMap) {\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(\n i18nInstance.resolvedLanguage ?? 'en',\n ns,\n resource,\n true,\n false,\n ) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n }\n}\n\n/**\n * Used by individual components to override their dictionaries with partner provided resources\n *\n * @internal\n */\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","translationLoaders","m","resolveTranslationLoader","lng","ns","primaryPath","resourceCache","LRUCache","loadResource","isLoading","isError","resource","promise","load","useI18n","namespaces","i18nInstance","useTranslation","nsMap","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;AAOO,MAAMA,IAAY,UAEnBC,IAAqB,uBAAA,OAAA;AAAA,EAAA,+BAAA,MAAA,OAAA,gCAAA,EAAA,KAAA,CAAAC,MAAAA,EAAA,OAAA;AAAA,EAAA,qCAAA,MAAA,OAAA,sCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,iCAAA,MAAA,OAAA,kCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,kCAAA,MAAA,OAAA,mCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,kCAAA,MAAA,OAAA,mCAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,8BAAA,MAAA,OAAA,+BAAA,EAAA,KAAA,CAAAA,MAAAA,EAAA,OAAA;AAAA,EAAA,+BAAA,MAAA,OAAA,gCAAA,EAAA,KAAA,CAAAA,MAAAA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AAgB;AAClB,YAAMT,IAAWS,EAAA;AACjB,MAAAJ,EAAa;AAAA,QACXA,EAAa,oBAAoB;AAAA,QACjCZ;AAAA,QACAO;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IAEJ;AAAA,EACF;AACF,GAOaU,IAAyB,CACpCjB,GACAO,MACG;AACH,QAAM,EAAE,MAAMK,EAAA,IAAiBC,EAAA;AAC/B,MAAIN;AACF,eAAWW,KAAQX;AACjB,MAAAK,EAAa,kBAAkBM,GAAMlB,GAAIO,EAASW,CAAI,GAAG,IAAM,EAAI;AAGzE;"}
@@ -1,32 +1,32 @@
1
- const e = "Name", l = "Job title", s = "Department", c = "of {{numAll}} employees selected", o = "Select all employees", t = "Select all", a = "Clear selected employees", n = "Clear", r = "Search employees", m = "Search employees", p = "Employees", y = "No employees found", h = "Clear search", b = {
1
+ const e = "Name", l = "Job title", t = "Department", a = "of {{numAll}} employees selected", c = "Select all employees", o = "Select all", s = "Clear selected employees", n = "Clear", r = "Search by name or department", m = "Search by name or department", p = "Employees", y = "No employees found", b = "Clear search", d = {
2
2
  name: e,
3
3
  jobTitle: l,
4
- department: s,
5
- selected: c,
6
- selectAllEmployees: o,
7
- selectAll: t,
8
- clearAriaLabel: a,
4
+ department: t,
5
+ selected: a,
6
+ selectAllEmployees: c,
7
+ selectAll: o,
8
+ clearAriaLabel: s,
9
9
  clear: n,
10
10
  searchPlaceholder: r,
11
11
  searchLabel: m,
12
12
  tableLabel: p,
13
13
  noSearchResults: y,
14
- clearSearch: h
14
+ clearSearch: b
15
15
  };
16
16
  export {
17
17
  n as clear,
18
- a as clearAriaLabel,
19
- h as clearSearch,
20
- b as default,
21
- s as department,
18
+ s as clearAriaLabel,
19
+ b as clearSearch,
20
+ d as default,
21
+ t as department,
22
22
  l as jobTitle,
23
23
  e as name,
24
24
  y as noSearchResults,
25
25
  m as searchLabel,
26
26
  r as searchPlaceholder,
27
- t as selectAll,
28
- o as selectAllEmployees,
29
- c as selected,
27
+ o as selectAll,
28
+ c as selectAllEmployees,
29
+ a as selected,
30
30
  p as tableLabel
31
31
  };
32
32
  //# sourceMappingURL=Company.TimeOff.EmployeeTable.json.js.map
@@ -1,31 +1,25 @@
1
- const e = "Add employees to policy", o = "Select the employees you want to add to this policy.", t = "Select the employees you want to add to this holiday pay policy.", i = "Any employees currently assigned to another {{policyType}} policy will be moved to this policy.", l = "paid time off", c = "sick leave", n = "Department", a = "Starting balance (hrs)", s = "Back", p = "Continue", d = { removeEmployeesFailed: "Unable to remove employees from this policy. {{details}}", completePolicyFailed: "Unable to complete this policy. {{details}}" }, y = { title_one: "Remove {{count}} employee from this policy?", title_other: "Remove {{count}} employees from this policy?", description_one: "This employee's balance for this policy will be removed. They can be re-added later.", description_other: "These employees' balances for this policy will be removed. They can be re-added later.", confirmCta: "Remove and save", cancelCta: "Cancel" }, r = { title_one: "Add {{count}} employee to this policy?", title_other: "Add {{count}} employees to this policy?", description_one: "This employee will be added to the policy with the specified starting balance.", description_other: "These employees will be added to the policy with the specified starting balances.", confirmCta: "Add and save", cancelCta: "Cancel" }, m = {
1
+ const e = "Add employees to policy", t = "Select the employees you want to add to this policy.", o = "Select the employees you want to add to this holiday pay policy.", l = "Any employees currently assigned to another paid time off policy will be moved to this policy.", n = "Department", a = "Starting balance (hrs)", i = "Back", s = "Continue", c = "All eligible employees have already been added to this policy.", p = { completePolicyFailed: "Unable to complete this policy. {{details}}" }, y = {
2
2
  title: e,
3
- description: o,
4
- holidayDescription: t,
5
- reassignmentWarning: i,
6
- policyTypeLabel_vacation: l,
7
- policyTypeLabel_sick: c,
3
+ description: t,
4
+ holidayDescription: o,
5
+ reassignmentWarning: l,
8
6
  departmentColumn: n,
9
7
  startingBalanceColumn: a,
10
- backCta: s,
11
- continueCta: p,
12
- errors: d,
13
- removeConfirmDialog: y,
14
- addConfirmDialog: r
8
+ backCta: i,
9
+ continueCta: s,
10
+ emptyState: c,
11
+ errors: p
15
12
  };
16
13
  export {
17
- r as addConfirmDialog,
18
- s as backCta,
19
- p as continueCta,
20
- m as default,
14
+ i as backCta,
15
+ s as continueCta,
16
+ y as default,
21
17
  n as departmentColumn,
22
- o as description,
23
- d as errors,
24
- t as holidayDescription,
25
- c as policyTypeLabel_sick,
26
- l as policyTypeLabel_vacation,
27
- i as reassignmentWarning,
28
- y as removeConfirmDialog,
18
+ t as description,
19
+ c as emptyState,
20
+ p as errors,
21
+ o as holidayDescription,
22
+ l as reassignmentWarning,
29
23
  a as startingBalanceColumn,
30
24
  e as title
31
25
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Company.TimeOff.SelectEmployees.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Company.TimeOff.SelectEmployees.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -1,33 +1,35 @@
1
- const e = "Time Off Policies", o = "Create policy", l = { name: "Name", enrolled: "Enrolled" }, t = "Time off policies", i = { viewPolicy: "View policy", deletePolicy: "Delete policy", menuTrigger: "Actions for {{name}}", menuFor: "Actions for {{name}}" }, c = "Finish setup", a = "All employees", n = "–", y = "{{count}} employee", s = "{{count}} employees", p = "Incomplete", d = "Holiday pay policy", m = { title: 'Are you sure you want to delete the policy "{{name}}"?', description: 'This will delete the policy "{{name}}" and all associated time off requests.', confirmCta: "Delete policy", cancelCta: "Cancel" }, f = { title: "Are you sure you want to delete the company holiday pay policy?", description: "This will delete the company holiday pay policy." }, r = { heading: "You don't have any time off policies", body: "Manage employee time off by creating a policy." }, u = { policyDeleted: 'Policy "{{name}}" deleted successfully', holidayDeleted: "Holiday pay policy deleted successfully", invalidPolicyType: "Please select a valid policy type." }, h = {
1
+ const e = "Time Off Policies", o = "Create policy", l = { name: "Name", enrolled: "Enrolled" }, t = "Time off policies", i = { viewPolicy: "View policy", deletePolicy: "Delete policy", menuTrigger: "Actions for {{name}}", menuFor: "Actions for {{name}}" }, a = "Finish setup", c = "All employees", n = "–", s = "{{count}} employee", y = "{{count}} employees", p = "Incomplete", d = "Holiday pay policy", m = { title: 'Are you sure you want to delete the policy "{{name}}"?', description: 'This will delete the policy "{{name}}" and all associated time off requests.', confirmCta: "Delete policy", cancelCta: "Cancel" }, r = { title: "Are you sure you want to delete the company holiday pay policy?", description: "This will delete the company holiday pay policy." }, f = { heading: "You don't have any time off policies", body: "Manage employee time off by creating a policy." }, u = { policyDeleted: 'Policy "{{name}}" deleted successfully', holidayDeleted: "Holiday pay policy deleted successfully", invalidPolicyType: "Please select a valid policy type." }, h = { pendingRequestsBlockDeletion: '"{{name}}" has pending or approved time off requests. Please decline or cancel those requests before deleting this policy.', deleteFailed: "Unable to delete this policy. Please try again." }, g = {
2
2
  pageTitle: e,
3
3
  createPolicyCta: o,
4
4
  tableHeaders: l,
5
5
  tableLabel: t,
6
6
  actions: i,
7
- finishSetupCta: c,
8
- allEmployeesLabel: a,
7
+ finishSetupCta: a,
8
+ allEmployeesLabel: c,
9
9
  enrolledDash: n,
10
- employeeCount_one: y,
11
- employeeCount_other: s,
10
+ employeeCount_one: s,
11
+ employeeCount_other: y,
12
12
  incompleteBadge: p,
13
13
  holidayPayPolicy: d,
14
14
  deletePolicyDialog: m,
15
- deleteHolidayDialog: f,
16
- emptyState: r,
17
- flash: u
15
+ deleteHolidayDialog: r,
16
+ emptyState: f,
17
+ flash: u,
18
+ errors: h
18
19
  };
19
20
  export {
20
21
  i as actions,
21
- a as allEmployeesLabel,
22
+ c as allEmployeesLabel,
22
23
  o as createPolicyCta,
23
- h as default,
24
- f as deleteHolidayDialog,
24
+ g as default,
25
+ r as deleteHolidayDialog,
25
26
  m as deletePolicyDialog,
26
- y as employeeCount_one,
27
- s as employeeCount_other,
28
- r as emptyState,
27
+ s as employeeCount_one,
28
+ y as employeeCount_other,
29
+ f as emptyState,
29
30
  n as enrolledDash,
30
- c as finishSetupCta,
31
+ h as errors,
32
+ a as finishSetupCta,
31
33
  u as flash,
32
34
  d as holidayPayPolicy,
33
35
  p as incompleteBadge,
@@ -1 +1 @@
1
- {"version":3,"file":"Company.TimeOff.TimeOffPolicies.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Company.TimeOff.TimeOffPolicies.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = "Time off policies", a = "Add employee", o = { vacation: "Paid time off policy", sick: "Sick leave policy" }, r = { employees: "Employees", policyDetails: "Policy details" }, t = "Details", i = "Edit policy", l = { label: "Policy type", vacation: "Paid time off", sick: "Sick leave", custom: "Custom policy", parentalLeave: "Parental leave", weather: "Weather policy", volunteer: "Volunteer policy", personalDay: "Personal day", learningAndDevelopment: "Learning and development", juryDuty: "Jury duty", floatingHoliday: "Floating holiday", bereavement: "Bereavement" }, n = "Policy name", c = "Accrual rate", s = { label: "Accrual type", unlimited: "Unlimited", perPayPeriod: "Fixed", perCalendarYear: "Fixed", perAnniversaryYear: "Fixed", perHourWorked: "Based on hours worked", perHourWorkedNoOvertime: "Based on hours worked", perHourPaid: "Based on hours worked", perHourPaidNoOvertime: "Based on hours worked" }, d = { label: "Accrual rate", unlimited: "-", perPayPeriod: "{{accrualRate}} hour(s) per pay period", perCalendarYear: "{{accrualRate}} hour(s) per calendar year", perAnniversaryYear: "{{accrualRate}} hour(s) per anniversary year", perHourWorked: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked, including overtime", perHourWorkedNoOvertime: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked, excluding overtime", perHourPaid: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) including overtime and all paid hours", perHourPaidNoOvertime: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked and all paid hours, excluding overtime" }, m = "Reset date", u = "Policy settings", p = "Change", y = { label: "Accrual maximum", noMaximum: "No maximum", withMaximum: "{{count}} hour(s) per year" }, h = { label: "Balance maximum", noMaximum: "No maximum", withMaximum: "{{count}} hour(s)" }, v = { label: "Carry over limit", noLimit: "No carry over limit", withLimit: "{{count}} hour(s)" }, b = { label: "Waiting period", noPeriod: "No waiting period", withPeriod: "{{count}} day(s)" }, f = { label: "Paid out on termination", yes: "Yes, remaining time off balances for this policy are paid out when an employee is dismissed.", no: "No, remaining time off balances for this policy are not paid out when an employee is dismissed." }, P = { balance: "Balance (hrs)", actions: "Actions", editBalance: "Edit balance", removeEmployee: "Remove employee" }, g = { title: "Add employee to this policy", description: "Select the employees to add to this policy. Employees not shown are either already included or not eligible." }, R = { title: "Edit {{name}} time off balance", balanceLabel: "Balance (hrs)", currentBalance: "Current balance", hoursUnit: "hours", cancelCta: "Cancel", updateCta: "Update balance" }, x = { title: "Remove {{name}} from policy?", alert: "When you remove an employee from a policy, any existing balance is removed.", removeCta: "Remove employee" }, w = { title: "Remove {{count}} employee(s) from policy?", alert: "When you remove an employee from a policy, any existing balance is removed.", removeCta: "Remove employees" }, k = { employeeRemoved: "{{name}} has been removed from the policy.", employeesAdded_one: "{{count}} employee has been added to this policy.", employeesAdded_other: "{{count}} employees have been added to this policy.", balanceUpdated: "{{name}}'s time off balance has been updated." }, C = {
1
+ const e = "Time off policies", a = "Add employee", o = { vacation: "Paid time off policy", sick: "Sick leave policy" }, r = { employees: "Employees", policyDetails: "Policy details" }, t = "Details", i = "Edit policy", l = { label: "Policy type", vacation: "Paid time off", sick: "Sick leave", custom: "Custom policy", parentalLeave: "Parental leave", weather: "Weather policy", volunteer: "Volunteer policy", personalDay: "Personal day", learningAndDevelopment: "Learning and development", juryDuty: "Jury duty", floatingHoliday: "Floating holiday", bereavement: "Bereavement" }, n = "Policy name", c = "Accrual rate", s = { label: "Accrual type", unlimited: "Unlimited", perPayPeriod: "Fixed", perCalendarYear: "Fixed", perAnniversaryYear: "Fixed", perHourWorked: "Based on hours worked", perHourWorkedNoOvertime: "Based on hours worked", perHourPaid: "Based on hours worked", perHourPaidNoOvertime: "Based on hours worked" }, d = { label: "Accrual rate", unlimited: "-", perPayPeriod: "{{accrualRate}} hour(s) per pay period", perCalendarYear: "{{accrualRate}} hour(s) per calendar year", perAnniversaryYear: "{{accrualRate}} hour(s) per anniversary year", perHourWorked: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked, including overtime", perHourWorkedNoOvertime: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked, excluding overtime", perHourPaid: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) including overtime and all paid hours", perHourPaidNoOvertime: "{{accrualRate}} hour(s) for every {{accrualRateUnit}} hour(s) worked and all paid hours, excluding overtime" }, m = "Reset date", u = "Policy settings", p = "Change", y = { label: "Accrual maximum", noMaximum: "No maximum", withMaximum: "{{count}} hour(s) per year" }, h = { label: "Balance maximum", noMaximum: "No maximum", withMaximum: "{{count}} hour(s)" }, v = { label: "Carry over limit", noLimit: "No carry over limit", withLimit: "{{count}} hour(s)" }, b = { label: "Waiting period", noPeriod: "No waiting period", withPeriod: "{{count}} day(s)" }, f = { label: "Paid out on termination", yes: "Yes, remaining time off balances for this policy are paid out when an employee is dismissed.", no: "No, remaining time off balances for this policy are not paid out when an employee is dismissed." }, x = { balance: "Balance (hrs)", actions: "Actions", editBalance: "Edit balance", removeEmployee: "Remove employee" }, P = { title: "Add employee to this policy", description: "Select the employees to add to this policy. Employees not shown are either already included or not eligible." }, g = { title: "Edit {{name}} time off balance", balanceLabel: "Balance (hrs)", currentBalance: "Current balance", hoursUnit: "hours", cancelCta: "Cancel", updateCta: "Update balance", errors: { balanceExceedsMax: "Balance cannot exceed the policy maximum of {{max}} hours. Reduce the balance or increase the policy's balance maximum.", updateFailed: "Unable to update balance. Please try again." } }, R = { title: "Remove {{name}} from policy?", alert: "When you remove an employee from a policy, any existing balance is removed.", removeCta: "Remove employee" }, w = { title: "Remove {{count}} employee(s) from policy?", alert: "When you remove an employee from a policy, any existing balance is removed.", removeCta: "Remove employees" }, k = { employeeRemoved: "{{name}} has been removed from the policy.", employeesAdded_one: "{{count}} employee has been added to this policy.", employeesAdded_other: "{{count}} employees have been added to this policy.", balanceUpdated: "{{name}}'s time off balance has been updated." }, C = {
2
2
  breadcrumb: e,
3
3
  addEmployeeCta: a,
4
4
  subtitle: o,
@@ -18,10 +18,10 @@ const e = "Time off policies", a = "Add employee", o = { vacation: "Paid time of
18
18
  carryoverLimitHours: v,
19
19
  accrualWaitingPeriodDays: b,
20
20
  paidOutOnTermination: f,
21
- employeeTable: P,
22
- addEmployeeModal: g,
23
- editBalanceModal: R,
24
- removeEmployeeModal: x,
21
+ employeeTable: x,
22
+ addEmployeeModal: P,
23
+ editBalanceModal: g,
24
+ removeEmployeeModal: R,
25
25
  removeEmployeesModal: w,
26
26
  flash: k
27
27
  };
@@ -31,15 +31,15 @@ export {
31
31
  c as accrualRateTitle,
32
32
  b as accrualWaitingPeriodDays,
33
33
  a as addEmployeeCta,
34
- g as addEmployeeModal,
34
+ P as addEmployeeModal,
35
35
  e as breadcrumb,
36
36
  v as carryoverLimitHours,
37
37
  p as changeSettingsCta,
38
38
  C as default,
39
39
  t as details,
40
- R as editBalanceModal,
40
+ g as editBalanceModal,
41
41
  i as editPolicyCta,
42
- P as employeeTable,
42
+ x as employeeTable,
43
43
  k as flash,
44
44
  y as maxAccrualHoursPerYear,
45
45
  h as maxHours,
@@ -47,7 +47,7 @@ export {
47
47
  n as policyName,
48
48
  u as policySettingsTitle,
49
49
  l as policyType,
50
- x as removeEmployeeModal,
50
+ R as removeEmployeeModal,
51
51
  w as removeEmployeesModal,
52
52
  m as resetDate,
53
53
  o as subtitle,
@@ -1,70 +1,78 @@
1
- const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines whether the compensation should be adjusted for minimum wage. Only applies to Nonexempt employees.", a = "Minimum wage", i = "What minimum wage requirement should compensation be adjusted to", n = { amountColumn: "Amount", deleteCta: "Delete", editCta: "Edit", jobColumn: "Job title", perColumn: "Per", tableLabel: "List of all jobs for the employee", typeColumn: "Pay type" }, s = "Compensation amount", l = "Back", c = "Cancel", m = "Cancel", r = '<ClassificationLink href="https://support.gusto.com/team-management/team-payments/pay-rates/1001671771/Employee-classification-options.htm" target="_blank">Learn more about employee classifications.</ClassificationLink>', d = "Employee type", p = { "Commission Only Exempt": "Commission Only/No Overtime", "Commission Only Nonexempt": "Commission Only/Eligible for overtime", Exempt: "Salary/No overtime", Nonexempt: "Paid by the hour", Owner: "Owner's draw", "Salaried Nonexempt": "Salary/Eligible for overtime" }, h = "Job actions", u = "Job Title", y = "The period over which the compensation amount is tracked (e.g., hourly, daily, weekly, monthly, annually).", f = "Per", b = { Hour: "Hour", Month: "Month", Paycheck: "Paycheck", Week: "Week", Year: "Year" }, C = "Save job", g = "Continue", k = "Compensation", w = "Edit job", v = "Add job", W = "Effective date", L = { editCompensationTitle: "Edit compensation", jobTitleLabel: "Job title", wageLabel: "Wage", wageFrequencyLabel: "Wage frequency", wageFrequencyOptions: { Hour: "Hourly", Week: "Weekly", Month: "Monthly", Year: "Annually", Paycheck: "Per paycheck" }, twoPercentShareholderLabel: "This employee is a 2% shareholder", saveCta: "Save", scheduledClassificationChangeNotification: "Scheduling this classification change will delete the employee's additional jobs when it goes into effect." }, j = { classificationChangeNotification: "Changing this employee's classification will delete the employee's additional pay rates.", exemptThreshold: "Most employees who make under {{limit}}/year should be eligible for overtime.", paymentUnit: "Payment unit must be one of Hour, Week, Month, or Year", rate: "Amount is a required field", nonZeroRate: "Amount must be at least $1.00", rateExemptThreshold: "FLSA Exempt employees must meet salary threshold of {{limit}}/year", title: "Title is a required field", minimumWage: "Please select minimum wage for adjustment", stateWcClassCode: "Please select a risk class code", effectiveDate: "Effective date is a required field", effectiveDateBeforeHire: "Effective date cannot be before the employee's hire date.", jobTitleSentence: "Job title is a required field" }, E = "Workers' compensation coverage", T = "Washington administers <wcLink>workers’ compensation insurance</wcLink> to protect workers and employers from the financial impact of a work-related injury. Indicate here if this employee is exempt from the workers’ comp tax.", x = { yes: "Yes, this employee is covered", no: "No, this employee is not covered" }, P = "Risk class code", S = "The risk class code associated with this employee’s job function. We need this to pay and file your taxes correctly.", N = "Select if employee is a 2% shareholder", O = {
1
+ const e = "+ Add another job", t = "Add another job", o = "Adjust for minimum wage", a = "Determines whether the compensation should be adjusted for minimum wage. Only applies to Nonexempt employees.", i = "Minimum wage", n = "What minimum wage requirement should compensation be adjusted to", s = { amountColumn: "Amount", deleteCta: "Delete", editCta: "Edit", jobColumn: "Job title", perColumn: "Per", tableLabel: "List of all jobs for the employee", typeColumn: "Pay type" }, l = "Compensation amount", r = "Back", c = "Cancel", m = "Cancel", d = '<ClassificationLink href="https://support.gusto.com/team-management/team-payments/pay-rates/1001671771/Employee-classification-options.htm" target="_blank">Learn more about employee classifications.</ClassificationLink>', p = "Employee type", h = { "Commission Only Exempt": "Commission Only/No Overtime", "Commission Only Nonexempt": "Commission Only/Eligible for overtime", Exempt: "Salary/No overtime", Nonexempt: "Paid by the hour", Owner: "Owner's draw", "Salaried Nonexempt": "Salary/Eligible for overtime" }, u = "Job actions", f = "Job Title", y = "The period over which the compensation amount is tracked (e.g., hourly, daily, weekly, monthly, annually).", b = "Wage frequency", C = { Hour: "Hour", Month: "Month", Paycheck: "Paycheck", Week: "Week", Year: "Year" }, g = "Effective date", v = "Changes will take effect on this date.", w = "Start date", k = "Save job", L = "Continue", W = "Compensation", j = "Edit job", D = "Add job", E = "Effective date", T = { editCompensationTitle: "Edit compensation", jobTitleLabel: "Job title", wageLabel: "Wage", wageFrequencyLabel: "Wage frequency", hireDateLabel: "Hire date", twoPercentShareholderLabel: "This employee is a 2% shareholder", saveCta: "Save" }, x = { effectiveDate: "Effective date is a required field", effectiveDateBeforeHire: "Effective date cannot be before the employee's hire date.", hireDate: "Start date is required", classificationChangeNotification: "Changing this employee's classification will immediately delete their additional jobs.", exemptThreshold: "Most employees who make under {{limit}}/year should be eligible for overtime.", paymentUnit: "Payment unit must be one of Hour, Week, Month, or Year", rate: "Amount is a required field", nonZeroRate: "Amount must be at least $1.00", rateExemptThreshold: "FLSA Exempt employees must meet salary threshold of {{limit}}/year", title: "Title is a required field", minimumWage: "Please select minimum wage for adjustment", stateWcClassCode: "Please select a risk class code", effectiveDateBeforeMin: "Effective date must be in the future", jobTitleSentence: "Job title is a required field" }, S = "Workers' compensation coverage", A = "Washington administers <wcLink>workers’ compensation insurance</wcLink> to protect workers and employers from the financial impact of a work-related injury. Indicate here if this employee is exempt from the workers’ comp tax.", N = { yes: "Yes, this employee is covered", no: "No, this employee is not covered" }, O = "Risk class code", P = "The risk class code associated with this employee’s job function. We need this to pay and file your taxes correctly.", q = "Select if employee is a 2% shareholder", J = {
2
2
  addAnotherJobCta: e,
3
- adjustForMinimumWage: t,
4
- adjustForMinimumWageDescription: o,
5
- minimumWageLabel: a,
6
- minimumWageDescription: i,
7
- allCompensations: n,
8
- amount: s,
9
- backCta: l,
3
+ addAnotherJobTitle: t,
4
+ adjustForMinimumWage: o,
5
+ adjustForMinimumWageDescription: a,
6
+ minimumWageLabel: i,
7
+ minimumWageDescription: n,
8
+ allCompensations: s,
9
+ amount: l,
10
+ backCta: r,
10
11
  cancelCta: c,
11
12
  cancelNewJobCta: m,
12
- classificationLink: r,
13
- employeeClassification: d,
14
- flsaStatusLabels: p,
15
- hamburgerTitle: h,
16
- jobTitle: u,
13
+ classificationLink: d,
14
+ employeeClassification: p,
15
+ flsaStatusLabels: h,
16
+ hamburgerTitle: u,
17
+ jobTitle: f,
17
18
  paymentUnitDescription: y,
18
- paymentUnitLabel: f,
19
- paymentUnitOptions: b,
20
- saveNewJobCta: C,
21
- submitCta: g,
22
- title: k,
23
- editTitle: w,
24
- addTitle: v,
25
- effectiveDateLabel: W,
26
- management: L,
27
- validations: j,
28
- stateWcCoveredLabel: E,
29
- stateWcCoveredDescription: T,
30
- stateWcCoveredOptions: x,
31
- stateWcClassCodeLabel: P,
32
- stateWcClassCodeDescription: S,
33
- twoPercentStakeholderLabel: N
19
+ paymentUnitLabel: b,
20
+ paymentUnitOptions: C,
21
+ effectiveDate: g,
22
+ effectiveDateDescription: v,
23
+ hireDate: w,
24
+ saveNewJobCta: k,
25
+ submitCta: L,
26
+ title: W,
27
+ editTitle: j,
28
+ addTitle: D,
29
+ effectiveDateLabel: E,
30
+ management: T,
31
+ validations: x,
32
+ stateWcCoveredLabel: S,
33
+ stateWcCoveredDescription: A,
34
+ stateWcCoveredOptions: N,
35
+ stateWcClassCodeLabel: O,
36
+ stateWcClassCodeDescription: P,
37
+ twoPercentStakeholderLabel: q
34
38
  };
35
39
  export {
36
40
  e as addAnotherJobCta,
37
- v as addTitle,
38
- t as adjustForMinimumWage,
39
- o as adjustForMinimumWageDescription,
40
- n as allCompensations,
41
- s as amount,
42
- l as backCta,
41
+ t as addAnotherJobTitle,
42
+ D as addTitle,
43
+ o as adjustForMinimumWage,
44
+ a as adjustForMinimumWageDescription,
45
+ s as allCompensations,
46
+ l as amount,
47
+ r as backCta,
43
48
  c as cancelCta,
44
49
  m as cancelNewJobCta,
45
- r as classificationLink,
46
- O as default,
47
- w as editTitle,
48
- W as effectiveDateLabel,
49
- d as employeeClassification,
50
- p as flsaStatusLabels,
51
- h as hamburgerTitle,
52
- u as jobTitle,
53
- L as management,
54
- i as minimumWageDescription,
55
- a as minimumWageLabel,
50
+ d as classificationLink,
51
+ J as default,
52
+ j as editTitle,
53
+ g as effectiveDate,
54
+ v as effectiveDateDescription,
55
+ E as effectiveDateLabel,
56
+ p as employeeClassification,
57
+ h as flsaStatusLabels,
58
+ u as hamburgerTitle,
59
+ w as hireDate,
60
+ f as jobTitle,
61
+ T as management,
62
+ n as minimumWageDescription,
63
+ i as minimumWageLabel,
56
64
  y as paymentUnitDescription,
57
- f as paymentUnitLabel,
58
- b as paymentUnitOptions,
59
- C as saveNewJobCta,
60
- S as stateWcClassCodeDescription,
61
- P as stateWcClassCodeLabel,
62
- T as stateWcCoveredDescription,
63
- E as stateWcCoveredLabel,
64
- x as stateWcCoveredOptions,
65
- g as submitCta,
66
- k as title,
67
- N as twoPercentStakeholderLabel,
68
- j as validations
65
+ b as paymentUnitLabel,
66
+ C as paymentUnitOptions,
67
+ k as saveNewJobCta,
68
+ P as stateWcClassCodeDescription,
69
+ O as stateWcClassCodeLabel,
70
+ A as stateWcCoveredDescription,
71
+ S as stateWcCoveredLabel,
72
+ N as stateWcCoveredOptions,
73
+ L as submitCta,
74
+ W as title,
75
+ q as twoPercentStakeholderLabel,
76
+ x as validations
69
77
  };
70
78
  //# sourceMappingURL=Employee.Compensation.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.Compensation.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.Compensation.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,30 +1,34 @@
1
- const e = "Employee Dashboard", t = "Employee dashboard tabs", a = { basicDetails: "Basic details", jobAndPay: "Job and pay", taxes: "Taxes", documents: "Documents" }, n = { title: "Basic details", editCta: "Edit", legalName: "Legal name", startDate: "Start date", socialSecurityNumber: "Social security number", dateOfBirth: "Date of birth", personalEmail: "Personal email" }, o = { title: "Home address", manageCta: "Manage", currentAddress: "Current address", noAddress: "No home address on file" }, i = { title: "Work address", manageCta: "Manage", currentAddress: "Current address", noAddress: "No work address on file" }, d = { compensation: { title: "Compensation", editCta: "Edit", jobTitle: "Job title", type: "Type", types: { hourly: "Hourly/Overtime eligible", salary: "Salary/No overtime" }, wage: "Wage", effectiveDate: "Effective date", addJobCta: "Add job", addAnotherJobCta: "Add another job", tableLabel: "List of jobs", hamburgerTitle: "Job actions", editJobCta: "Edit", deleteJobCta: "Delete", columns: { jobTitle: "Job title", payType: "Pay type", effectiveDate: "Effective date" }, deleteJobDialog: { title: "Delete job?", description: "{{jobTitle}} will be permanently removed.", confirmCta: "Delete", cancelCta: "Cancel" }, emptyState: { title: "No compensation", description: "Compensation will appear here once added" }, pendingChange: { alertLabel: "Compensation will change on {{date}}.", alertLabelWithJob: "Compensation for {{jobTitle}} will change on {{date}}.", summaryLabel: "There are multiple pending changes to {{name}}'s compensation.", reviewCta: "Review", cancelCta: "Cancel change", modal: { title: "Review pending changes", description: "These compensation changes are scheduled to take effect on the dates below. Cancel any change to remove it.", closeCta: "Close" }, details: { titleChange: "Job title will change to {{title}}", payChange: "Pay will change to {{formattedRate}}", flsaChange: "Employee type will change to {{flsaLabel}}", newJob: "{{name}} will start an additional job as {{title}} at {{formattedRate}}", newJobNoTitle: "{{name}} will start an additional job at {{formattedRate}}", newJobNoRate: "{{name}} will start an additional job as {{title}}", newJobMinimal: "{{name}} will start an additional job", minWageEnabled: "Minimum wage adjustment will be enabled at {{formattedWage}}", minWageEnabledNoRate: "Minimum wage adjustment will be enabled", minWageDisabled: "Minimum wage adjustment will be removed", minWageChanged: "Minimum wage adjustment rate will change to {{formattedWage}}", minWageChangedNoRate: "Minimum wage adjustment will change" } } }, payment: { title: "Payment", splitPaycheckCta: "Split paycheck", addBankAccountCta: "Add bank account", listLabel: "List of bank accounts", nickname: "Nickname", routingNumber: "Routing number", accountType: "Account type", emptyState: { title: "No bank accounts", description: "Bank accounts will appear here once added" } }, deductions: { title: "Deductions", addDeductionCta: "Add deduction", listLabel: "List of deductions", deduction: "Deduction", frequency: "Frequency", withhold: "Withheld", recurring: "Recurring", oneTime: "One-time", amountPerPaycheck: "{{value}} per paycheck", emptyState: { title: "No deductions", description: "Employee deductions will appear here" } }, paystubs: { title: "Paystubs", listLabel: "List of paystubs", payday: "Payday", checkAmount: "Check amount", grossPay: "Gross pay", paymentMethod: "Payment method", noPaymentMethod: "Not available", downloadCta: "Download paystub", downloadError: "Unable to download paystub", downloadLoadingMessage: "Generating paystub…", emptyState: { title: "No paystubs", description: "Paystubs will appear here after payroll is run" } } }, s = { federal: { title: "Federal taxes", editCta: "Edit", filingStatus: "Filing status", multipleJobs: "Multiple jobs", dependentsAndOtherCredits: "Dependents and other credits", otherIncome: "Other income", deductions: "Deductions", extraWithholding: "Extra withholding" }, state: { title: "State taxes", editCta: "Edit", noStateTaxes: "No state taxes on file" } }, l = { title: "Forms", listLabel: "List of employee forms", viewCta: "View", columns: { title: "Form", year: "Year", status: "Status", requiresSigning: "Signing status", actions: "Actions" }, signingStatus: { signed: "Signed", notSigned: "Not signed" }, status: { draft: "Draft", final: "Final" }, emptyState: { title: "No forms", description: "Employee forms will appear here once available" } }, c = { yes: "Yes", no: "No" }, r = { bankAccountAdded: "Bank account successfully added.", bankAccountDeleted: "Bank account successfully deleted.", splitUpdated: "Split payment successfully updated.", deductionAdded: "Deduction successfully added.", deductionUpdated: "Deduction successfully updated.", deductionDeleted: "Deduction successfully deleted." }, m = { addJobTitle: "Add a job", editTitle: "Edit compensation", addAnotherJobTitle: "Add another job" }, u = {
1
+ const e = "Employee Dashboard", t = "Employee", a = "Employee dashboard tabs", o = "No value", n = { basicDetails: "Basic details", jobAndPay: "Job and pay", taxes: "Taxes", documents: "Documents" }, i = { title: "Basic details", editCta: "Edit", legalName: "Legal name", startDate: "Start date", socialSecurityNumber: "Social security number", dateOfBirth: "Date of birth", personalEmail: "Personal email" }, d = { title: "Home address", manageCta: "Manage", currentAddress: "Current address", noAddress: "No home address on file" }, s = { title: "Work address", manageCta: "Manage", currentAddress: "Current address", noAddress: "No work address on file" }, l = { compensation: { title: "Compensation", editCta: "Edit", jobTitle: "Job title", type: "Type", types: { hourly: "Hourly/Overtime eligible", salary: "Salary/No overtime" }, wage: "Wage", effectiveDate: "Effective date", addJobCta: "Add job", addAnotherJobCta: "Add another job", tableLabel: "List of jobs", hamburgerTitle: "Job actions", editJobCta: "Edit", deleteJobCta: "Delete", columns: { jobTitle: "Job title", payType: "Pay type", effectiveDate: "Effective date", status: "Status" }, pendingStatus: "Pending", deleteJobDialog: { title: "Delete job?", description: "{{jobTitle}} will be permanently removed.", confirmCta: "Delete", cancelCta: "Cancel" }, emptyState: { title: "No compensation", description: "Compensation will appear here once added" }, pendingChange: { alertLabel: "Compensation will change on {{date}}.", alertLabelWithJob: "Compensation for {{jobTitle}} will change on {{date}}.", summaryLabel: "There are multiple pending changes to {{name}}'s compensation.", reviewCta: "Review", cancelCta: "Cancel change", modal: { title: "Review pending changes", description: "These compensation changes are scheduled to take effect on the dates below. Cancel any change to remove it.", closeCta: "Close" }, details: { titleChange: "Job title will change to {{title}}", payChange: "Pay will change to {{formattedRate}}", flsaChange: "Employee type will change to {{flsaLabel}}", newJob: "{{name}} will start an additional job as {{title}} at {{formattedRate}}", newJobNoTitle: "{{name}} will start an additional job at {{formattedRate}}", newJobNoRate: "{{name}} will start an additional job as {{title}}", newJobMinimal: "{{name}} will start an additional job", minWageEnabled: "Minimum wage adjustment will be enabled at {{formattedWage}}", minWageEnabledNoRate: "Minimum wage adjustment will be enabled", minWageDisabled: "Minimum wage adjustment will be removed", minWageChanged: "Minimum wage adjustment rate will change to {{formattedWage}}", minWageChangedNoRate: "Minimum wage adjustment will change" } } }, payment: { title: "Payment", splitPaycheckCta: "Split paycheck", addBankAccountCta: "Add bank account", listLabel: "List of bank accounts", nickname: "Nickname", routingNumber: "Routing number", accountType: "Account type", emptyState: { title: "No bank accounts", description: "Bank accounts will appear here once added" } }, deductions: { title: "Deductions", addDeductionCta: "Add deduction", listLabel: "List of deductions", deduction: "Deduction", frequency: "Frequency", withhold: "Withheld", recurring: "Recurring", oneTime: "One-time", amountPerPaycheck: "{{value}} per paycheck", emptyState: { title: "No deductions", description: "Employee deductions will appear here" } }, paystubs: { title: "Paystubs", listLabel: "List of paystubs", payday: "Payday", checkAmount: "Check amount", grossPay: "Gross pay", paymentMethod: "Payment method", noPaymentMethod: "Not available", downloadCta: "Download paystub", downloadError: "Unable to download paystub", downloadLoadingMessage: "Generating paystub…", emptyState: { title: "No paystubs", description: "Paystubs will appear here after payroll is run" } } }, c = { federal: { title: "Federal taxes", editCta: "Edit", filingStatus: "Filing status", multipleJobs: "Multiple jobs", dependentsAndOtherCredits: "Dependents and other credits", otherIncome: "Other income", deductions: "Deductions", extraWithholding: "Extra withholding" }, state: { title: "State taxes", editCta: "Edit", noStateTaxes: "No state taxes on file", noWithholdingForState: "No state income tax withholding required." } }, r = { title: "Forms", listLabel: "List of employee forms", viewCta: "View", columns: { title: "Form", year: "Year", status: "Status", requiresSigning: "Signing status", actions: "Actions" }, signingStatus: { signed: "Signed", notSigned: "Not signed" }, status: { draft: "Draft", final: "Final" }, emptyState: { title: "No forms", description: "Employee forms will appear here once available" } }, m = { yes: "Yes", no: "No" }, u = { bankAccountAdded: "Bank account successfully added.", bankAccountDeleted: "Bank account successfully deleted.", splitUpdated: "Split payment successfully updated.", deductionAdded: "Deduction successfully added.", deductionUpdated: "Deduction successfully updated.", deductionDeleted: "Deduction successfully deleted.", jobAdded: "Job successfully added." }, b = { addJobTitle: "Add a job", editTitle: "Edit compensation", addAnotherJobTitle: "Add another job", saveCta: "Save job" }, p = {
2
2
  title: e,
3
- tabsLabel: t,
4
- tabs: a,
5
- basicDetails: n,
6
- homeAddress: o,
7
- workAddress: i,
8
- jobAndPay: d,
9
- taxes: s,
10
- documents: l,
11
- common: c,
12
- alerts: r,
13
- compensationFlow: m
3
+ employeeRoleLabel: t,
4
+ tabsLabel: a,
5
+ listEmptyPlaceholder: o,
6
+ tabs: n,
7
+ basicDetails: i,
8
+ homeAddress: d,
9
+ workAddress: s,
10
+ jobAndPay: l,
11
+ taxes: c,
12
+ documents: r,
13
+ common: m,
14
+ alerts: u,
15
+ compensationFlow: b
14
16
  };
15
17
  export {
16
- r as alerts,
17
- n as basicDetails,
18
- c as common,
19
- m as compensationFlow,
20
- u as default,
21
- l as documents,
22
- o as homeAddress,
23
- d as jobAndPay,
24
- a as tabs,
25
- t as tabsLabel,
26
- s as taxes,
18
+ u as alerts,
19
+ i as basicDetails,
20
+ m as common,
21
+ b as compensationFlow,
22
+ p as default,
23
+ r as documents,
24
+ t as employeeRoleLabel,
25
+ d as homeAddress,
26
+ l as jobAndPay,
27
+ o as listEmptyPlaceholder,
28
+ n as tabs,
29
+ a as tabsLabel,
30
+ c as taxes,
27
31
  e as title,
28
- i as workAddress
32
+ s as workAddress
29
33
  };
30
34
  //# sourceMappingURL=Employee.Dashboard.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.Dashboard.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.Dashboard.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = "Manage home address", t = "An employee's home address is used to calculate their taxes and determine eligibility for certain benefits. Make sure to keep it up-to-date.", s = "Open address row actions", a = "Edit", n = "Delete", o = "Current home address", d = "Since {{date}}", i = "Edit", r = "Change address", c = "Change pending", l = "This employee's", h = "{{possessiveLabel}} home address will change to {{newAddress}} on {{effectiveDate}}.", m = "Home address history", p = "No address history yet", u = "Once this employee has had more than one home address, their previous addresses will appear in this list.", g = { address: "Address", startDate: "Start date", endDate: "End date" }, y = "Edit home address", f = "Update this employee's current home address. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", D = "Add a new home address", w = "Enter the new address and when it takes effect. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", T = "The date the employee started living at this address.", M = "Save", b = "Cancel", C = "Delete address?", E = "Deleting an address can't be undone. <strong>{{address}}</strong> will be deleted. This can have implications on your tax calculations & withholdings.", v = "Delete address", S = { startDateRequired: "Start date is required" }, k = {
1
+ const e = "Manage home address", t = "An employee's home address is used to calculate their taxes and determine eligibility for certain benefits. Make sure to keep it up-to-date.", s = "Open address row actions", a = "Edit", n = "Delete", o = "Current home address", d = "Since {{date}}", i = "Edit", r = "Change address", c = "Change pending", l = "This employee's", h = "{{possessiveLabel}} home address will change to {{newAddress}} on {{effectiveDate}}.", m = "Home address history", p = "No address history yet", u = "Once this employee has had more than one home address, their previous addresses will appear in this list.", g = { address: "Address", startDate: "Start date", endDate: "End date" }, y = "Edit home address", f = "Update this employee's current home address. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", D = "Add a new home address", w = "Enter the new address and when it takes effect. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", T = "The date the employee started living at this address.", b = "Save", C = "Cancel", M = "Back", E = "Delete address?", k = "Deleting an address can't be undone. <strong>{{address}}</strong> will be deleted. This can have implications on your tax calculations & withholdings.", v = "Delete address", S = { startDateRequired: "Start date is required" }, A = {
2
2
  title: e,
3
3
  description: t,
4
4
  rowMenuAriaLabel: s,
@@ -20,15 +20,17 @@ const e = "Manage home address", t = "An employee's home address is used to calc
20
20
  createModalTitle: D,
21
21
  createModalDescription: w,
22
22
  startDateHelper: T,
23
- submitCta: M,
24
- cancelCta: b,
25
- deleteModalTitle: C,
26
- deleteModalDescription: E,
23
+ submitCta: b,
24
+ cancelCta: C,
25
+ backCta: M,
26
+ deleteModalTitle: E,
27
+ deleteModalDescription: k,
27
28
  deleteModalConfirmCta: v,
28
29
  form: S
29
30
  };
30
31
  export {
31
- b as cancelCta,
32
+ M as backCta,
33
+ C as cancelCta,
32
34
  r as changeCta,
33
35
  h as changePendingDescription,
34
36
  l as changePendingPossessiveFallback,
@@ -38,10 +40,10 @@ export {
38
40
  D as createModalTitle,
39
41
  o as currentSectionTitle,
40
42
  d as currentSince,
41
- k as default,
43
+ A as default,
42
44
  v as deleteModalConfirmCta,
43
- E as deleteModalDescription,
44
- C as deleteModalTitle,
45
+ k as deleteModalDescription,
46
+ E as deleteModalTitle,
45
47
  t as description,
46
48
  i as editCta,
47
49
  f as editModalDescription,
@@ -54,7 +56,7 @@ export {
54
56
  a as rowEdit,
55
57
  s as rowMenuAriaLabel,
56
58
  T as startDateHelper,
57
- M as submitCta,
59
+ b as submitCta,
58
60
  e as title
59
61
  };
60
62
  //# sourceMappingURL=Employee.HomeAddress.Management.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.HomeAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.HomeAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}